For version issues, you can refer to this link: https://cnodejs.org/topic/576...; how to start node, you can just try this, it cannot be regarded as a problem that worries you
This involves setting environment variables. You can set Node to point to the latest version and nodejs to point to the old version. You can also use nvm to switch versions freely
For version issues, you can refer to this link: https://cnodejs.org/topic/576...; how to start node, you can just try this, it cannot be regarded as a problem that worries you
On some distributions,
node
命令被其他程序占用了,所以启动nodejs
的命令换成了nodejs
而不是node
Looks like I remembered the wrong release version, so I deleted part of the answer
This... is only
node -v
rightnode and nodejs should be the same
No difference. ,. ,. ,. ,. ,. ,. ,
Install the latest version, it’s just awkward if you use this old version
This involves setting environment variables. You can set Node to point to the latest version and nodejs to point to the old version. You can also use nvm to switch versions freely
npm -g install nvm
nvm install 7
nvm use 7