0

I have cloned a repository from Github following a course on Udacity. It contains a vagrant file and according to the tutorial I shoulld use vagrant up command to get the virtual machine started. But it says that vagrant is not a recognized internal/external command. How can I fix this?

Dan Lowe
  • 51,713
  • 20
  • 123
  • 112
madhuri behl
  • 1
  • 1
  • 1
  • 1
  • 3
    Did you install Vagrant? https://www.vagrantup.com/ – Dan Lowe Jan 28 '16 at 15:36
  • No.The tutorial says that download will begin after the statement is executed. – madhuri behl Jan 31 '16 at 18:12
  • 1
    I haven't seen the tutorial, but if you run `vagrant` without having installed Vagrant, your computer has no idea what you're talking about. If I had to guess, I would say it is saying a VM image or something else would download after you run the command. But to use Vagrant, you necessarily have to have installed it on the system first. – Dan Lowe Jan 31 '16 at 18:19

2 Answers2

0

Install Vagrant for Windows, if your machine OS is windows. https://www.vagrantup.com/downloads.html

Restart computer. Install Virtualbox from Virtualbox SDK https://www.virtualbox.org/wiki/Downloads VirtualBox 5.2.6 platform packages. The binaries are released under the terms of the GPL version 2. Windows hosts

Once Virtual box is installed, run the command on the cmd prompt. vagrant up --provision

KiranC
  • 597
  • 6
  • 6
-1

I'm in the same course on Udacity and I think the issue you are having can be resolved by adding C:\Hashicorp\Vagrant\bin to your system variables path.

Instructions for editing your path can be found here: Where can I set path to make.exe on Windows?

This fixed the error for me.

Matthew
  • 1,905
  • 3
  • 19
  • 26
87Marc
  • 47
  • 5