📜  安装 node 12 linux - Shell-Bash 代码示例

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

代码示例1
sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt -y install nodejs