Created
April 9, 2012 14:12
-
-
Save mkoubik/2343711 to your computer and use it in GitHub Desktop.
Install node.js and npm under a user
This file contains hidden or 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
| git clone https://github.com/joyent/node.git | |
| cd node | |
| git checkout v0.6.14 #Try checking nodejs.org for what the stable version is | |
| ./configure --prefix=~/opt/node | |
| make | |
| make install | |
| echo prefix = ~/opt/npm >> ~/.npmrc | |
| curl http://npmjs.org/install.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment