nodejs版本升级

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

  

 

posted @ 2022-01-21 09:28  随心朝阳  阅读(572)  评论(0编辑  收藏  举报