1.根据版本查看如下地址

https://github.com/nodesource/distributions

 

我是Debian GNU/Linux 10 升级到16.x 的版本执行如下

# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs

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

  

 

相关文章: