📌  相关文章
📜  为 ubuntu 20.04 安装 nodejs 14 - Shell-Bash 代码示例

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

代码示例4
sudo apt update
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -

cat /etc/apt/sources.list.d/nodesource.list
deb https://deb.nodesource.com/node_14.x focal main
deb-src https://deb.nodesource.com/node_14.x focal main

sudo apt -y install nodejs

node -v
v14.18.2