Skip to content

Instantly share code, notes, and snippets.

@mkoubik
Created April 9, 2012 14:12
Show Gist options
  • Select an option

  • Save mkoubik/2343711 to your computer and use it in GitHub Desktop.

Select an option

Save mkoubik/2343711 to your computer and use it in GitHub Desktop.
Install node.js and npm under a user
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