Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Jrohy/nodejs-install
一键安装最新版nodejs
https://github.com/Jrohy/nodejs-install
Last synced: about 1 month ago
JSON representation
一键安装最新版nodejs
- Host: GitHub
- URL: https://github.com/Jrohy/nodejs-install
- Owner: Jrohy
- License: gpl-3.0
- Created: 2020-09-23T06:48:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-30T13:21:40.000Z (11 months ago)
- Last Synced: 2024-08-01T20:51:50.599Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 50.8 KB
- Stars: 26
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Jrohy/nodejs-install - 一键安装最新版nodejs (Shell)
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
```