Installing and upgrading node.js on Windows


Steps for installation:

  1. Go to http://nodejs.org/ and download the latest version of node.  I'll proceed with the Windows Installer (.msi) version.
    1. You can also go to http://nodejs.org/download/ to download installer for other platform.
  2. 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.


  3. Once installation completed, start a command prompt and type "node --version" and verify that it shows the version of node.


Steps for upgrade:

  1. 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)
  2. 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

Popular posts from this blog

Generating INSERT statement from SELECT using SQuirreL SQL

OneNote: We need the password to sync this notebook (Error code: 0xE4010643)

Built-in UITableViewCell's Styles (UITableViewCellStyle)