There is no error in installing node, under linux, but it still prompts that it is not installed.

the program "node" is currently not installed?
here are the installation steps:
enter the command: wget https://npm.taobao.org/mirror.

xz-d node-v8.9.3-linux-x64.tar.xz or tar-xzvf node-v8.9.3-linux-x64.tar.gz

tar-xvf node-v8.9.3-linux-x64.tar

ln-s / node-v8.9.3-linux-x64/bin/node / usr/local/bin/node

ln-s / node-v8.9.3-linux-x64/bin/npm/usr/local/bin/npm

(hint: the last two steps need to be performed in the root directory)

4. Enter the command: node-v is installed successfully when the version number appears.

npm-v is installed successfully when the version number appears.

Mar.01,2021

/ usr/local/bin may not have been added to PATH
execute echo $PATH try

Menu