Instalación "Node.js" (CentOS) @ 2021-01-20

Node.js v10.x en CentOS 7

Distribuciones basadas en Enterprise Linux

################################################ #############################
# Paso 1 - Agregar repositorio Yum de Node.js
################################################ #############################
# NodeJS 10.x
curl -sL https://rpm.nodesource.com/setup_10.x | bash -

################################################ #############################
# Paso 2 - Instale Node.js en CentOS
################################################ #############################
yum instalar nodejs
# Instale la versión especificada: yum install nodejs-10.15.3

################################################ #############################
# Paso 3 - Verifique Node.js y la versión de NPM
################################################ #############################
nodo -v

npm -v

referencias

WikiNotes / 安装 (CentOS)
Cómo instalar las últimas distribuciones binarias de Nodejs en CentOS / RHEL 7/6
NodeSource Node.js

Supongo que te gusta

Origin blog.csdn.net/u013670453/article/details/112910638
Recomendado
Clasificación