Skip to content

Instantly share code, notes, and snippets.

@scottalan
Last active March 11, 2024 03:21
Show Gist options
  • Save scottalan/e85d860c0d8ceb92db9fbe5f8a263af7 to your computer and use it in GitHub Desktop.
Save scottalan/e85d860c0d8ceb92db9fbe5f8a263af7 to your computer and use it in GitHub Desktop.
NVM Install

Install NVM

curl https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash

Better but still could be bad!

curl -L https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh > /tmp/nvm-install.sh && bash /tmp/nvm-install.sh

Need to actually see it.

wget https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh && cat install.sh && echo "Am I safe????

./install.sh

Check versions

nvm ls-remote

Install node (with npm)

  nvm install v4.4.0
  source ~/.profile
  nvm --version
  nvm help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment