Last active
December 29, 2015 17:29
-
-
Save notmii/7704493 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
echo "Installing NPM" | |
sudo apt-get install --yes npm | |
sudo npm update -g npm | |
npm -v | |
echo "Updating node.js" | |
sudo npm config set registry http://registry.npmjs.org/ | |
sudo npm cache clean -f | |
sudo npm install -g n | |
sudo n stable | |
node -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment