Vagrant installation fails because of server php version on windows

Hello!

I am getting this following error when executing vagrant up command on windows 10:

This seems like an easy error to correct but I didn’t manage, can you please help?

Hello,

you should switch the PHP version of your terminal to PHP 7.4.x. Currently the terminal is being run with PHP 7.2.x, which causes the error.