If you’re looking for an easy to follow guide on getting Node and NPM installed, Robert Bennet’s Install Node with Homebrew on OS X worked perfectly for me. I mostly hang out on Ruby projects — but ever since I posted about Twitter’s Bower I’ve been meaning to make time to get Node on my machine so I can play around with Bower and other Node projects.
From the guide:
I am a big fan of Homebrew and I try to install all of my packages through Homebrew so that I can run updates, checks and installs all using the same commands and directories. I recently started using Node.js quite a big for build systems and also a little bit for server experimentation. One of the things I noticed is that Node isn’t quite as simple to install with Homebrew as most everything else is. There are a few extra steps you must take to get it going correctly, so I thought I would do a brief install tutorial to help anyone out who ran into the same issue.
The only deviation I made from the prescribed path was installing NPM with https vs http —
curl https://npmjs.org/install.sh | sh.
Have comments? Send a tweet to @TheChangelog on Twitter.
Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.