从NodeSource存储库安装Node.js和npm

阅读 103

2022-11-26

参考:​​https://github.com/nodesource/distributions​​

安装说明:Node.js v19.x:

1、Debian 系统,登录root

curl -fsSL ​https://deb.nodesource.com/setup_19.x​​ | bash - && apt-get install -y nodejs

2、Ubuntu系统

curl -fsSL ​https://deb.nodesource.com/setup_19.x​​ | sudo -E bash - && sudo apt-get install -y nodejs

精彩评论(0)

0 0 举报