简体   繁体   中英

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.

The program 'nodejs' is currently not installed. You can install it by typing
sudo apt install nodejs

What should I do ?


图像 1

你可以做node -v , nodejs 不是可执行文件的名称

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM