Skip to content

Instantly share code, notes, and snippets.

@johnkingzy
Created December 15, 2020 17:52
Show Gist options
  • Save johnkingzy/1b313b5ef04b8a8252e798bbc3664680 to your computer and use it in GitHub Desktop.
Save johnkingzy/1b313b5ef04b8a8252e798bbc3664680 to your computer and use it in GitHub Desktop.
# install from nodesource using apt-get
# https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server
curl -sL https://deb.nodesource.com/setup | sudo bash - && \
apt-get install -yq nodejs build-essential
# fix npm - not the latest version installed by apt-get
npm install -g npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment