Skip to content

Instantly share code, notes, and snippets.

@toastynerd
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save toastynerd/e1c9df76cb71a0a007d3 to your computer and use it in GitHub Desktop.
Save toastynerd/e1c9df76cb71a0a007d3 to your computer and use it in GitHub Desktop.
Installing Node from source
#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