Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save macikokoro/82a0f351781fd0931973 to your computer and use it in GitHub Desktop.
Save macikokoro/82a0f351781fd0931973 to your computer and use it in GitHub Desktop.
#goto the node website
#click download
#click the source download
#go to the director you downloaded the source to
tar -xzvf <the node tar.gz you downloaded>
cd <node directory>
./configure --prefix=~/.node
make && make install
#add the following to your .bashrc or .profile
export PATH=$PATH:$HOME/.node/bin
export NODE_PATH=$HOME/.node/lib/node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment