nodejs-包管理器安装

src: Github

Installation instructions

Node.js v14.x:

Using Ubuntu

curl -sL https://deb.nodesource.com/setup\_14.x | sudo -E bash -
sudo apt-get install -y nodejs

Using Debian, as root

curl -sL https://deb.nodesource.com/setup\_14.x | bash -
apt-get install -y nodejs

Node.js v13.x:

Using Ubuntu

curl -sL https://deb.nodesource.com/setup\_13.x | sudo -E bash -
sudo apt-get install -y nodejs

Using Debian, as root

curl -sL https://deb.nodesource.com/setup\_13.x | bash -
apt-get install -y nodejs

Node.js v12.x:

Using Ubuntu

curl -sL https://deb.nodesource.com/setup\_12.x | sudo -E bash -
sudo apt-get install -y nodejs

Using Debian, as root

curl -sL https://deb.nodesource.com/setup\_12.x | bash -
apt-get install -y nodejs

Node.js v10.x:

Using Ubuntu

curl -sL https://deb.nodesource.com/setup\_10.x | sudo -E bash -
sudo apt-get install -y nodejs

Using Debian, as root

curl -sL https://deb.nodesource.com/setup\_10.x | bash -
apt-get install -y nodejs

【腾讯云】轻量 2核2G4M,首年65元

阿里云限时活动-云数据库 RDS MySQL  1核2G配置 1.88/月 速抢

本文由乐趣区整理发布,转载请注明出处,谢谢。

您可能还喜欢...

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据