LMSouq
server-admin Open

nodejs vs node on ubuntu 12.04

JA
Jatin
1 month ago
3 views
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

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base