Last active
February 2, 2021 03:25
-
-
Save joshuaebowling/fb8204d252a78aa6e40beb0ad0a4e93e to your computer and use it in GitHub Desktop.
install nvm on digital ocean ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# logout and back in, then... | |
source ~/.profile | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was a life savior. Thank you.