[英]I installed Node-12 from source but can't get nodejs --version
I have a problem after installing node in Ubuntu 16. I installed node-12 from node-v12.13.1-linux-x64.tar.xz but I can't get nodejs --version
to execute.在 Ubuntu 16 中安装节点后出现问题。我从node-v12.13.1-linux-x64.tar.xz安装了 node-12,但无法执行
nodejs --version
。
The program 'nodejs' is currently not installed. You can install it by typing
sudo apt install nodejs
What should I do ?我该怎么办 ?
你可以做node -v
, nodejs 不是可执行文件的名称
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.