Problem Description
I installed nodejs on ubuntu from instructions given [here][1]
When I write `node --version` in the terminal I see this : <br>
`-bash: /usr/sbin/node: No such file or directory`
I can see node in the `/usr/sbin/` directory, though.
Writing `npm --version` shows `1.3.5` <br>
Writing `nodejs --version` shows `v0.10.15`
Also, I can see node in the `/usr/bin/` directory.
So, how do I get `node` working?
Also, If I use *zsh* instead of bash, then `node` command works.
[1]: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?