Using Vagrant on a Windows 8.1 machine.
Notes:
I had installed git which gave me the MinGW (Minimalist GNU for Windows). Use this command window to run “vagrant ssh” since ssh.exe is available here. (or add the c:\program files (x86)\git\bin folder to your environmental PATH variable using the system control panel).
I had installed VirtualBox before installing Vagrant. The Vagrant install installs VirtualBox on its own. I had issues with the “vagrant up” and “vagrant halt” commands not doing anything. Just a blinking cursor until I pressed CTRL-C. I closed all VirtualBox tasks in the Task manager and then these commands worked again. I think I had started VirtualBox via my Start menu shortcut previously.
Looking at node.js.
Started “base” vagrant and got to shell. Pretty cool. On this machine I installed node by following directions at StackOverflow. Basically following:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
I had tried to just do sudo apt-get install nodejs, but found that it was version 0.8.x instead of the newer version 0.10.x. At the 0.8.x version I couldn’t install express modules using “sudo npm install express”
I had got: “failed to fetch from registry express”
Found this article at StackOverflow which had me change the config of npm from https to http
npm config set registry http://registry.npmjs.org/