I'm having some difficulty installing Node and Coffeescript. I have installed node using homebrew and then I have successfully installed NPM. I have tried to install Coffeescript from NPM and it appears to have worked but then I cannot run coffee
localserver:Documents x$ sudo npm -g install coffee-script
Password:
npm http GET https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/coffee-script
/usr/local/share/npm/bin/coffee -> /usr/local/share/npm/lib/node_modules/coffee-script/bin/coffee
/usr/local/share/npm/bin/cake -> /usr/local/share/npm/lib/node_modules/coffee-script/bin/cake
coffee-script@1.4.0 /usr/local/share/npm/lib/node_modules/coffee-script
localserver:Documents x$ coffee
-bash: coffee: command not found
localserver:Documents x$
Is there some path environment variable that I need to set for this? Even if I navigate to /usr/local/share/npm/lib/node_modules/coffee-script/bin/coffee
I cannot run it from here.