Installing CoffeeScript on Ubuntu 12.04 is a complete no-brainer by the looks of it (since both node.js Core as well as Node Package Manager are in the Ubuntu repos).
sudo apt-get install nodejs npm
sudo npm install -g coffee-script
To check the installation
coffee -v
Just as a reminder for myself & in case it helps somebody …
It helps thx!
Got a problem with coffeescript…. When i do
$ coffee -v
It’s print out ” /usr/bin/env: node: No such file or directory ”
PLEASE HELP
Looks like you need to add /usr/local/lib/node to your NODE_PATH environment variable to have node libraries picked up.
Why is there `sudo sudo`? Naturally `sudo` one is sufficient. ;)
@Arttu: Thanks for that – I fixed this error. Of course you only need one … :)