Installing and upgrading node.js on Windows
Steps for
installation:
- Go to http://nodejs.org/ and download the latest version of node. I'll proceed with the Windows Installer (.msi) version.
- You can also go to http://nodejs.org/download/ to download installer for other platform.
- Run the node-XXXXXXXXXX.msi
installer, and proceed to installation like a normal Windows application
(basically just Next... , Agree, Next … Finish). I'd strongly suggest that you
accepts all the default configurations and selections during the setup.
- Once installation completed, start a command prompt and type "node --version" and verify that it shows the version of node.
Steps for upgrade:
- I personally don't use any special tools to switch between version of nodes, I prefer install if using the same Windows Installer. (If you uses all the default settings during setup, upgrading is simple repeating the installation steps to overwrite the current version of node)
- If you want to use NVM (Node Version Manager) kind of tools that available to Linux users, you can use take a look at Nodist (https://github.com/marcelklehr/nodist). You can get Nodist via Chocolatey (http://chocolatey.org/).
Comments
Post a Comment