I installed nodejs on my ubuntu system. The command which nodejs
gives me the following response: /usr/bin/nodejs
which is correct because a nodejs -v
gives me the version I installed, 0.10.25.
If I type which node
instead, I get /usr/sbin/node
which does nothing at all.
My question is now: How do I change the command node
to /usr/sbin/nodejs
so that I have a working installation for all the programs which rely on the command node
?
Short: How do I execute /usr/bin/nodejs
if I run node
from the console?
Thanks in advance, F