Here is how to install CoffeeScript sans Cywin on Windows 7.
First, install Noje.js. Go to nodejs.org and download the windows installer. Once you'll install it you'll need to add the Node.js directory to the path.
Second, to add Node.js to the path open the Control Panel and select System, then "Advanced System settings" then the tab "Advanced" and the button "Environmental Variables..." Scroll down until you find the variable PATH and add to the end ";C:\Program Files (x86)\nodejs" you don't need to put a semicolon at the end.
Thirdly install CoffeeScript from the command line (search for "cmd" on the Start menu)with this:
npm install -g coffee-script
(make sure you run the command with privileges by right clicking and selecting "Run as Administrator")
Fourth verify the version with this:
coffee -v
you should get something like this:
CoffeeScript version 1.1.3
First, install Noje.js. Go to nodejs.org and download the windows installer. Once you'll install it you'll need to add the Node.js directory to the path.
Second, to add Node.js to the path open the Control Panel and select System, then "Advanced System settings" then the tab "Advanced" and the button "Environmental Variables..." Scroll down until you find the variable PATH and add to the end ";C:\Program Files (x86)\nodejs" you don't need to put a semicolon at the end.
Thirdly install CoffeeScript from the command line (search for "cmd" on the Start menu)with this:
npm install -g coffee-script
(make sure you run the command with privileges by right clicking and selecting "Run as Administrator")
Fourth verify the version with this:
coffee -v
you should get something like this:
CoffeeScript version 1.1.3
nice tuturial
ReplyDeletenot working... nodejs error can't use at cmd and coffe script doesn't install
ReplyDeleteDid you try reinstalling node?
Delete