David Havelin was the guy who broke this news: you can now use CoffeeScript directly on windows. Here’s what you need to do:
- git clone git://github.com/jashkenas/coffee-script.git
- cd coffee-script/bin
- Download the latest node.exe (http://nodejs.org/dist/v0.5.7/node.exe) into the same directory. Note the is an “unstable” version, but you can’t get away with 0.4.x
- ./node coffee –compile c:myfile.coffee
Finally, throw away all of your over-complex coffeescript on windows solutions. Hopefully soon there will be a batch file.
Technorati Tags: CoffeeScript,node.js
You’re absolutely correct. As of 0.6, npm started to be bundled with the node distribution, making everything much easier. I’ll update the main article when I get the chance.
LikeLike