Forked from joshuaebowling/do-ubuntu-16.04-install-nvm-part-1.sh
Created
April 22, 2020 19:56
-
-
Save meer-online/f816709bb2a3dc50efe6181a2ec6dd4d to your computer and use it in GitHub Desktop.
install nvm on digital ocean ubuntu 16.04
This file contains hidden or 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 |
This file contains hidden or 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04