执行
ln /home/asa/node-v8.9.0-linux-x64/bin/node /usr/local/bin/node
之后,输入node -v可以显示版本号,再执行
ln /home/asa/node-v8.9.0-linux-x64/bin/npm /usr/local/bin/npm
使用npm -v提示
The program 'npm' is currently not installed. You can install it by typing:
apt install npm