Skip to content

Instantly share code, notes, and snippets.

@BananaAcid
Created July 12, 2018 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BananaAcid/507279793229503569e13f0f3998ff88 to your computer and use it in GitHub Desktop.
Save BananaAcid/507279793229503569e13f0f3998ff88 to your computer and use it in GitHub Desktop.
Installs NVM and latest nodeJS (one liner)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && nvm install ` nvm ls-remote | tail -1`
@BananaAcid
Copy link
Author

BananaAcid commented Apr 19, 2019

installing latest node only (using nvm):

nvm install ` nvm ls-remote | tail -1`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment