📅  最后修改于: 2022-03-11 15:03:14.334000             🧑  作者: Mango
# Node.js v14.x: Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# Node.js v16.x: Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs