Created
January 22, 2016 16:42
-
-
Save leftclickben/2fe0c9d5e9cb64076880 to your computer and use it in GitHub Desktop.
Complete instructions for installing node 5.x on Ubuntu via apt (should work for other versions, just change `5.x`)
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 | |
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - | |
sudo apt-get install nodejs | |
sudo chown -R $USER /usr/lib/node_modules/ | |
sudo chgrp $USER /usr/bin | |
sudo chmod g+w /usr/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
References: