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 …

Leo Gaggl

ict business owner specialising in mobile learning systems. interests: sustainability, internet of things, ict for development, open innovation, agriculture

This Post Has 5 Comments

  1. Yann

    It helps thx!

  2. Ralph Alex Charlemagne

    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

  3. Leo Gaggl

    Looks like you need to add /usr/local/lib/node to your NODE_PATH environment variable to have node libraries picked up.

  4. Arttu Manninen

    Why is there `sudo sudo`? Naturally `sudo` one is sufficient. ;)

  5. Leo Gaggl

    @Arttu: Thanks for that – I fixed this error. Of course you only need one … :)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.