https://github.com/gongt/install-nodejs
install nodejs with one line command
https://github.com/gongt/install-nodejs
nodejs shell
Last synced: about 2 months ago
JSON representation
install nodejs with one line command
- Host: GitHub
- URL: https://github.com/gongt/install-nodejs
- Owner: GongT
- Created: 2016-10-12T15:36:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-09-14T05:10:27.000Z (10 months ago)
- Last Synced: 2025-10-06T22:56:45.781Z (9 months ago)
- Topics: nodejs, shell
- Language: Shell
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# install node.js
Install pnpm (and nodejs) into `/usr/local/share/pnpm`
* auto configure npm to use `/usr/local/share/pnpm`, prevent it using `/usr/local/bin`
* create & append required environment variables
* rebuild global dependencies
# Support
support: **64BIT ONLY** linux & cygwin & Mac OS & WSL
dependencies: wget & xz & sed & sort & grep
**and standard gnu-utils on Mac**
# Usage
**latest:**
```bash
wget --quiet -O - https://raw.githubusercontent.com/GongT/install-nodejs/master/install.sh | bash -s -
```
also can upgrade node to latest stable version.
**any major version: (0.x not supported)**
```bash
wget --quiet -O - https://raw.githubusercontent.com/GongT/install-nodejs/master/install.sh | bash -s - 12
```