Skip to content

Instantly share code, notes, and snippets.

@marcoceppi
Last active August 29, 2015 14:10
Show Gist options
  • Save marcoceppi/d8143918b7ab7667aa85 to your computer and use it in GitHub Desktop.
Save marcoceppi/d8143918b7ab7667aa85 to your computer and use it in GitHub Desktop.
nodesouce repository
#!/bin/sh
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
echo "deb https://deb.nodesource.com/node $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/node $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment