Skip to content

Instantly share code, notes, and snippets.

@hfm
Created July 8, 2012 16:39
Show Gist options
  • Save hfm/3071715 to your computer and use it in GitHub Desktop.
Save hfm/3071715 to your computer and use it in GitHub Desktop.
Homebrew経由でCoffee-Scriptを入れる方法
# Node.jsをHomebrewから入れる
$ brew install node
# NPM(Node Package Manager)を入れる
$ sudo curl http://npmjs.org/install.sh | sh
# 環境変数を設定する(Zshの場合)
$ vi .zshrc
+ export NODE_PATH=/usr/local/lib/node_modules
$ source .zshrc
# NPM経由でCoffee-Scriptを入れる
$ npm install -g coffee-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment