Skip to content

Instantly share code, notes, and snippets.

@oosidat
Created February 9, 2016 18:58
Show Gist options
  • Save oosidat/0208f9b3a6b92b90fa48 to your computer and use it in GitHub Desktop.
Save oosidat/0208f9b3a6b92b90fa48 to your computer and use it in GitHub Desktop.

Installing NodeJS v4 latest using NVM (Node Version Manager)

  • Download and install NVM - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
  • Follow terminal output and copy nvm loading scripts to ~/.bash_profile (Mac) or ~/.bashrc
  • Install Node v4 - nvm install v4 - this will install the latest version 4.x.x
  • (optional) Set installed version as default - nvm alias default v4.x.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment