Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Jrohy/nodejs-install

一键安装最新版nodejs
https://github.com/Jrohy/nodejs-install

Last synced: about 1 month ago
JSON representation

一键安装最新版nodejs

Awesome Lists containing this project

README

        

# nodejs-install
![](https://img.shields.io/github/stars/Jrohy/nodejs-install.svg)
![](https://img.shields.io/github/forks/Jrohy/nodejs-install.svg)
![](https://img.shields.io/github/license/Jrohy/nodejs-install.svg)
一键安装最新版nodejs, 国内vps自动设置淘宝镜像源([npmmirror.com](https://npmmirror.com))

## 安装/更新 最新长期支持版nodejs
```
source <(curl -L https://nodejs-install.netlify.app/install.sh)
```
## 安装/更新 最新当前发布版nodejs
```
source <(curl -L https://nodejs-install.netlify.app/install.sh) -l
```
## 安装/更新 指定版本nodejs
```
source <(curl -L https://nodejs-install.netlify.app/install.sh) -v 14.12.0
```
## 强制更新nodejs
默认更新策略是已有版本和最新版本一样就不去更新, 要强制更新添加-f
```
source <(curl -L https://nodejs-install.netlify.app/install.sh) -f
```