//找个文件夹放置下载的node cd /usr/local/
//下载node wget https://npm.taobao.org/mirrors/node/v10.13.0/node-v10.13.0-linux-x64.tar.xz //解压 tar -xvf node-v10.13.0-linux-x64.tar.xz cd node-v10.13.0-linux-x64/bin/ && ls //创建快捷方式 ln -s /usr/local/node-v10.13.0-linux-x64/bin/node /usr/local/bin/ ln -s /usr/local/node-v10.13.0-linux-x64/bin/npm /usr/local/bin/
node -v