js2coffee: command not found

Under Ubuntu 10, I installed using: npm install js2coffee

Seems to install smoothly

I enter npm ls

Returns:

/root
----js2coffee@0.1.3
--------coffee-script@1.3.3
--------underscore@1.3.3

I try executing js2coffee mywebapp.js but get js2coffee: command not found

What's wrong? What else is needed to get js2coffee working properly?

You should install by sudo npm install js2coffee -g it will create the executable then.