Skip to content

Instantly share code, notes, and snippets.

@tomsihap
Created December 23, 2018 14:46
Show Gist options
  • Save tomsihap/e703b9b063ecc101f5a4fc0b01a514c9 to your computer and use it in GitHub Desktop.
Save tomsihap/e703b9b063ecc101f5a4fc0b01a514c9 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
@DeepaPrasanna
Copy link

thanks this worked !

@joonalarcon
Copy link

Thanks bro, very simple and efective :)

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