Skip to content

Instantly share code, notes, and snippets.

@riansanderson
Created November 17, 2015 23:29
Show Gist options
  • Select an option

  • Save riansanderson/6c4dbd80fe9c1891f6c8 to your computer and use it in GitHub Desktop.

Select an option

Save riansanderson/6c4dbd80fe9c1891f6c8 to your computer and use it in GitHub Desktop.
Setup node.js and friends
#don't install node from ubuntu packages...
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install nodejs
sudo rm /usr/bin/node /usr/sbin/node
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo ln -s /usr/bin/nodejs /usr/sbin/node
#important to install all these at the same time ...
sudo npm install -g grunt-cli bower yo generator-karma generator-angular
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment