我根据给出的here条指令在ubuntu上安装了nodejs
When I write node --version
in the terminal I see this :
-bash: /usr/sbin/node: No such file or directory
不过,我可以在/usr/sbin/
目录中看到 node .
写npm --version
显示1.3.5
书写nodejs --version
显示v0.10.15
此外,我还可以在/usr/bin/
目录中看到 node .
那么,如何让node
人工作呢?
此外,如果我使用zsh而不是bash,那么node
命令也可以工作.