Setting up Node.JS on OSX – Quick and Easy
wajig install nodejs, however I want to be able to work off my laptop while I’m on vacation. While it’s not quite as easy as one command, it really isn’t that hard to setup.
You can simply download and install the
- Download & Install Command Line Tools for Xcode
- Install Homebrew by running the following in a terminal window:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew doctoras instructed and fix any issues you might have.
- Update your
- (in a terminal)
- Add a single line that reads:
brew install nodejs
brew install npm