deepin安装node和npm最新
1.下载 https://nodejs.org/zh-cn/download/
2.解压
我的解压后目录为/home/test/aa/download_tools/node-v14.15.1-linux-x64
3.软链接
sudo ln -s /home/test/aa/download_tools/node-v14.15.1-linux-x64/bin/node /usr/local/bin/node
sudo ln -s /home/test/aa/download_tools/node-v14.15.1-linux-x64/bin/npm /usr/local/bin/npm
4.chmod
sudo chmod -R 777 /usr/local/bin/node
sudo chmod -R 777 /usr/local/bin/npm