Last active
August 29, 2015 14:01
-
-
Save toastynerd/e1c9df76cb71a0a007d3 to your computer and use it in GitHub Desktop.
Installing Node from source
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
#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