I have already installed node js in my ubuntu 14.04, but I am not able to install `npm` in it. I want to compile `less` through command line so that I need `npm`.

Is there any way to compile `less` or how can i install `npm` in ubuntu?