安装 NODEJS (Debian 8Ubuntu 16CentOS 7)

xiaoxiao2021-02-28  21

Debian 8 / Ubuntu 16

apt-get update apt-get install curl sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

开始安装

apt-get install nodejs

 

CentOS 7

执行以下命令安装

curl -sL https://rpm.nodesource.com/setup_8.x | bash - yum install nodejs

安装完查看 Node.js 和 NPM 版本:

转载请注明原文地址: https://www.6miu.com/read-2628955.html

最新回复(0)