Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save acampagnaro/36c23ca603380ddff223d54cd61ea0ac to your computer and use it in GitHub Desktop.
Save acampagnaro/36c23ca603380ddff223d54cd61ea0ac to your computer and use it in GitHub Desktop.
Install NVM in Ubuntu 18.04 with ZSH
# Find the latest version on https://github.com/creationix/nvm#install-script
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Add in your ~/.zshrc the following:
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
$ source ~/.zshrc
# Usage :
$ nvm install node
@acampagnaro
Copy link
Author

You need to run “nvm install N/A” to install it before using it.' even tho I have already installed lts/*
nvm alias default v12.16.3

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