readme fix
This commit is contained in:
12
README.md
12
README.md
@@ -37,13 +37,13 @@ Base URL: **https://git.iamninja.ru/iamninja/npm-angie-auto-install.git**
|
|||||||
|
|
||||||
## Quick Start (one-liner) - Interactive mode
|
## Quick Start (one-liner) - Interactive mode
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.iamninja.ru/iamninja/npm-angie-auto-install.git/raw/branch/master/npm_install.py \
|
curl -fsSL https://git.iamninja.ru/iamninja/npm-angie-auto-install.git/raw/branch/main/npm_install.py \
|
||||||
-o npm_install.py && sudo python3 npm_install.py
|
-o npm_install.py && sudo python3 npm_install.py
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick Start (one-liner) - NON-Interactive mode
|
## Quick Start (one-liner) - NON-Interactive mode
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.iamninja.ru/iamninja/npm-angie-auto-install.git/raw/branch/master/npm_install.py \
|
curl -fsSL https://git.iamninja.ru/iamninja/npm-angie-auto-install.git/raw/branch/main/npm_install.py \
|
||||||
-o npm_install.py && sudo python3 npm_install.py --npm-version 2.13.2 --node-version 24
|
-o npm_install.py && sudo python3 npm_install.py --npm-version 2.13.2 --node-version 24
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -65,7 +65,7 @@ optional arguments:
|
|||||||
--motd {yes,no} Update MOTD after completion. (default: yes)
|
--motd {yes,no} Update MOTD after completion. (default: yes)
|
||||||
--enable-ipv6 Do not strip IPv6 from configs/resolvers (keep IPv6). (default: False)
|
--enable-ipv6 Do not strip IPv6 from configs/resolvers (keep IPv6). (default: False)
|
||||||
--update Update mode: upgrade/downgrade NPM, rebuild frontend/backend without reconfiguring Angie. Use with --npm-version to specify target version (>= 2.13.0). (default: False)
|
--update Update mode: upgrade/downgrade NPM, rebuild frontend/backend without reconfiguring Angie. Use with --npm-version to specify target version (>= 2.13.0). (default: False)
|
||||||
--branch BRANCH Install from specific git branch (e.g., master, dev, develop). (default: None)
|
--branch BRANCH Install from specific git branch (e.g., main, dev, develop). (default: None)
|
||||||
--debug Show detailed logs and progress. (default: False)
|
--debug Show detailed logs and progress. (default: False)
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -75,7 +75,7 @@ optional arguments:
|
|||||||
## Manual Download & Run
|
## Manual Download & Run
|
||||||
```bash
|
```bash
|
||||||
# 1) Download the latest installer script
|
# 1) Download the latest installer script
|
||||||
curl -L https://git.iamninja.ru/iamninja/npm-angie-auto-install.git/raw/branch/master/npm_install.py -o npm_install.py
|
curl -L https://git.iamninja.ru/iamninja/npm-angie-auto-install.git/raw/branch/main/npm_install.py -o npm_install.py
|
||||||
|
|
||||||
# 2) Run installer with the latest stable release (auto-detects newest tag)
|
# 2) Run installer with the latest stable release (auto-detects newest tag)
|
||||||
python3 npm_install.py
|
python3 npm_install.py
|
||||||
@@ -89,8 +89,8 @@ python3 npm_install.py --npm-version 2.13.1 --node-version 21 --debug
|
|||||||
# 5) Install from a development branch (for example, 'dev')
|
# 5) Install from a development branch (for example, 'dev')
|
||||||
python3 npm_install.py --branch dev
|
python3 npm_install.py --branch dev
|
||||||
|
|
||||||
# 6) Install from the master branch (latest development commits)
|
# 6) Install from the main branch (latest development commits)
|
||||||
python3 npm_install.py --branch master
|
python3 npm_install.py --branch main
|
||||||
|
|
||||||
# 7) Update an existing installation without reconfiguring Angie
|
# 7) Update an existing installation without reconfiguring Angie
|
||||||
python3 npm_install.py --update
|
python3 npm_install.py --update
|
||||||
|
|||||||
Reference in New Issue
Block a user