Last active
August 29, 2015 14:17
-
-
Save cedeber/fa1f7b378cd92ea49dce to your computer and use it in GitHub Desktop.
OSX Homebrew Node.js
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
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*} | |
sudo brew uninstall node | |
brew update | |
brew upgrade --all | |
brew cleanup | |
brew install node | |
sudo chown -R YourUsernameHere /usr/local | |
brew link --overwrite node | |
sudo brew postinstall node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment