Posts

Showing posts from March, 2013

Install nodejs on ubuntu

When installing nodejs on Ubuntu 12.10, it was not working right away sudo apt-get install nodejs npm I had to add a link to have 'node' (and not only nodejs) in my path sudo ln -s /usr/bin/nodejs /usr/local/bin/node

Install & run jshint on the command line

For ubuntu/linux, assuming you have nodejs installed sudo npm install -g jshint Then run jshint on your javascript file jshint yourjsfile.js