1.安裝nodeJS, Windows和MacOSX都有安裝版本
2.安裝coffee-script, github上下載zip
使用
npm install -g coffeescript zip 解壓後目錄路徑
3.安裝Aptana Studio
4.在Aptana Studio中新建一個Web Project
5.新增一個文件,ext為coffee, 如test.coffee, 則創建成功後,文件的圖標自動變成了CoffeeScript的圖標
6.開始編寫CoffeeScript吧
7.如果要編譯成JS,則選擇Commands-coffee Script -run-Compile And Display JS