Sunday, November 10, 2013

Install CoffeeScript on Mac OSX

CoffeeScript is a Node.js module and could be installed using the Node.js Package Manager, npm. To install CoffeeScript on Mac osx (tested on Lion) first install Homebrew package manager.
 
# Install Homebrew 
ruby < (curl -fsSk https://raw.github.com/mxcl/homebrew/go)
#Install Node.js 
brew install node
# Open .bashrc and add this line (create .bashrc if its not in your home directory already) export NODE_PATH=/usr/local/lib/node_modules
# Install NPM
curl https://npmjs.org/install.sh | sh
# Install CoffeeScript
npm install -g coffee-script  Related links: coffeescript.org , Frobitz

No comments:

Finite-State Machines, Part 1: Modeling with Haskell Data Types

Stateful programs often become complex beasts as they grow. Program state incohesively spread across a bunch of variables, spuriously guar...