nodejs 包管理器安裝

src: Githubnode

Installation instructions

Node.js v14.x:git

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:github

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:bash

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:curl

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
相關文章
相關標籤/搜索