Skip to content

Instantly share code, notes, and snippets.

@joshuaebowling
Last active February 2, 2021 03:25
Show Gist options
  • Save joshuaebowling/fb8204d252a78aa6e40beb0ad0a4e93e to your computer and use it in GitHub Desktop.
Save joshuaebowling/fb8204d252a78aa6e40beb0ad0a4e93e to your computer and use it in GitHub Desktop.
install nvm on digital ocean ubuntu 16.04
# source https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
# as of 23/4/2017
#part 1
# add build deps
sudo apt-get update
sudo apt-get -y install build-essential libssl-dev
# grab v0.33.1 (most recent)
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh -o install_nvm.sh
# to inspect or not to inspect?? # nano install_nvm.sh
# install
bash install_nvm.sh
echo "please logout, and back in"
# logout and back in, then...
source ~/.profile
echo
@petarproko
Copy link

This was a life savior. Thank you.

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