diff --git a/README.md b/README.md index c3ee1c4..1a8b6ce 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ Base URL: **https://git.iamninja.ru/iamninja/npm-angie-auto-install.git** ## Quick Start (one-liner) - Interactive mode ```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 ``` ## Quick Start (one-liner) - NON-Interactive mode ```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 ``` @@ -65,7 +65,7 @@ optional arguments: --motd {yes,no} Update MOTD after completion. (default: yes) --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) - --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) ``` @@ -75,7 +75,7 @@ optional arguments: ## Manual Download & Run ```bash # 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) 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') python3 npm_install.py --branch dev -# 6) Install from the master branch (latest development commits) -python3 npm_install.py --branch master +# 6) Install from the main branch (latest development commits) +python3 npm_install.py --branch main # 7) Update an existing installation without reconfiguring Angie python3 npm_install.py --update