Tips for Running Node and NPM on Windows

I recently helped a few folks get node and npm up and running on Windows. Here are some of the steps we were able to follow to make this all work.

Requirements

The systems already had the latest version of Visual Studio 2015 Preview or the free Visual Studio Community edition. I highly encourage starting there. Also, make sure git is install.

Running Node and NPM on Windows

First get node via chocolatey. You may have to update your paths. Sometimes paths were updated for us, sometimes they were not. Your mileage may vary.

Run these from an administrator command prompt or console2 or whatever your favorite terminal is.

choco install nodejs choco install nodejs.install

Now install an older version of python. Had lots of issues with the latest python, so this one seemed to work.

choco install python -version 2.7.2

You also may want to upgrade npm on Windows. You can upgrade npm by following these instructions