Skip to content

Instantly share code, notes, and snippets.

@m3talsmith
Forked from twilson63/mac-osx.sh
Last active December 12, 2015 12:19
Show Gist options
  • Save m3talsmith/4771096 to your computer and use it in GitHub Desktop.
Save m3talsmith/4771096 to your computer and use it in GitHub Desktop.
Edited for zshell
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.zshrc
. ~/.zshrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-v0.2.3.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install
wget http://npmjs.org/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment