alias of nodejs as node on 14.04
- by Koka
i installed nodejs with apt-get on 14.04
When i do nodejs -v
v0.10.25
and when i do node -v
node : command not found.
So i want to make alias of nodejs as node
So i inserted a line in ~/.bashrc
alias node=nodejs
Now i can access the nodejs with node on terminal.
But in my project, i use grunt which fires nodemon via gruntfile.js.
Now nodemon tries to run node instead of nodejs
Now again i get the same problem node : command not found.
Means alias was not made for non-interactive shell non-login shell.
Where should i make the alias for this specific purpose and get my problem solved?