Michael de Silva's Blog

Software Engineer. Rubyist and Roboticist.

Michael de Silva's Blog

Software Engineer. Rubyist and Roboticist.

HOWTO: Node.js, Npm, and CoffeeScript on Mac OS X Lion 10.7

Decided I wanted to brush up on my coffeescript-fu and realised I hadn't set it up since moving to Lion. Setup couldn't be simpler thanks to homebrew

brew install node

Caveats:

Please add /usr/local/lib/node to your NODE_PATH environment variable to have node libraries picked up.

curl http://npmjs.org/install.sh | sh

npm install -g coffee-script

The above steps are also detailed here.

References
  1. http://www.blog.bridgeutopiaweb.com/post/how-to-install-coffeescript-on-mac-os-x/
  2. http://www.bsodmike.com/2011/09/11/how-to-install-coffeescript-on-mac-os-x/
  3. http://shapeshed.com/setting-up-nodejs-and-npm-on-mac-osx/
comments powered by Disqus