Enterprise Linux based distributions
# Step 1 – Add Node.js Yum Repository curl -sL https://rpm.nodesource.com/setup_10.x | bash - # Step 2 – Install Node.js on CentOS yum install nodejs-10.15.3 # 安装指定版本 yum install nodejs ################################################################################ # Step 3 – Check Node.js and NPM Version ################################################################################ node -v npm -v
# Using Debian, as root curl -sL https://deb.nodesource.com/setup_15.x | bash - apt-get install -y nodejs
适用发行版:Debian,Ubuntu 18.04.3 LTS
# 08/13/2019
# Using Debian, as root curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs
How To Install Latest Nodejs on CentOS/RHEL 7/6
NodeSource Node.js Binary Distributions
distributions/README.md at master · nodesource/distributions
NodeSource Node.js Binary Distributions
「Linux」- 安装 Node.js 环境 @20210512
原文:https://www.cnblogs.com/k4nz/p/14761110.html