📌  相关文章
📜  ubuntu 20 lts 安装节点 10 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:01.197000             🧑  作者: Mango

代码示例1
# install nodejs 10.x version 
sudo apt update
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
# not important, but can be done
nano nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
node install npm -g
node --version
npm --version