Created
June 24, 2015 15:47
-
-
Save mpalpha/c7e6e417ce192917489a to your computer and use it in GitHub Desktop.
install global node with git on osx
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
(cd $HOME && git clone git://github.com/ry/node.git) | |
printf "\n" | |
printf "\r\nNode: Installing..." | |
(cd node && ./configure && make && sudo make install) > /dev/null 2>&1 | |
sudo chown -R "$USER" /usr/local/{share/man,bin,lib/node,include/node} > /dev/null 2>&1 | |
npm update npm -g | |
node -v && npm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment