Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Forked from toastynerd/gist:e1c9df76cb71a0a007d3
Last active August 29, 2015 14:04
Show Gist options
  • Save ivanoats/6f506077c960eff1a039 to your computer and use it in GitHub Desktop.
Save ivanoats/6f506077c960eff1a039 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 directory 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
@ivanoats
Copy link
Author

ivanoats commented Aug 6, 2014

Thanks to @toastynerd for typing up the first draft of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment