Vagrant command not found

I have downloaded the Virtualbox and the vagrant on my machine. I am now trying to create a vagrant file using the vagrant init centos/7 command. However, i see the message

vagrant:command not found.

How do i rectify this?

It seems that you didn’t install the vagrant properly. Can you share the steps of the installation?

Directory of C:\Users\ADITHYARADHAKRISHNA\Vagrant

18-11-2021 19:29 .
18-11-2021 19:29 …
18-11-2021 19:29 .vagrant
18-11-2021 19:29 3,084 Vagrantfile
1 File(s) 3,084 bytes
3 Dir(s) 116,983,087,104 bytes free

I have run the Vagrant up command to create the VM on my virtualbox. However, i am not able to modify the vagrant file according to my custom requirements. How do i open the vagrant file on the command prompt?

C:\Users\ADITHYARADHAKRISHNA>vi Vagrantfile
‘vi’ is not recognized as an internal or external command,
operable program or batch file.

C:\Users\ADITHYARADHAKRISHNA>cat Vagrantfile
‘cat’ is not recognized as an internal or external command,
operable program or batch file.

the vi and cat are not supported in windows. So, you can open it with a notepad and add your changes.