📜  https:deb.nodesource.com setup_ - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:39.547000             🧑  作者: Mango

代码示例1
# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs