I downloaded NodeJS what I thought was the normal way, but for some reason after installing it on my linux machine, the nodeJS program is called "nodejs" rather than "node". This is problematic because every module I get from NPM uses "node" to run their scripts on. So I have been having to go in and manually change the files to use "nodejs" instead. This is very annoying and I would like to change it so my machine uses just "node" now. What is the best way of doing this? Thanks
Create a symlink as below:
sudo ln -s /usr/bin/nodejs /usr/bin/node
That should do it.