mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 04:37:23 +08:00
feat(install): enhance installation script functionality (#770)
* feat(install): enhance installation script functionality - Add help information display feature - Support custom GitHub proxy URL - Add --no-gh-proxy option to disable GitHub proxy - Optimize error messages and command prompts - Fix typo (Commend -> Command) * docs: update installation script documentation --------- Co-authored-by: evanq <mail.qxw.im> Co-authored-by: Sijie.Sun <sunsijie@buaa.edu.cn>
This commit is contained in:
31
README.md
31
README.md
@@ -63,7 +63,36 @@ EasyTier is a simple, safe and decentralized VPN networking solution implemented
|
||||
wget -O /tmp/easytier.sh "https://raw.githubusercontent.com/EasyTier/EasyTier/main/script/install.sh" && bash /tmp/easytier.sh install
|
||||
```
|
||||
|
||||
You can also uninstall/update Easytier by the command "uninstall" or "update" of this script
|
||||
The script supports the following commands and options:
|
||||
|
||||
Commands:
|
||||
- `install`: Install EasyTier
|
||||
- `uninstall`: Uninstall EasyTier
|
||||
- `update`: Update EasyTier to the latest version
|
||||
- `help`: Show help message
|
||||
|
||||
Options:
|
||||
- `--skip-folder-verify`: Skip folder verification during installation
|
||||
- `--skip-folder-fix`: Skip automatic folder path fixing
|
||||
- `--no-gh-proxy`: Disable GitHub proxy
|
||||
- `--gh-proxy`: Set custom GitHub proxy URL (default: https://ghfast.top/)
|
||||
|
||||
Examples:
|
||||
```sh
|
||||
# Show help
|
||||
bash /tmp/easytier.sh help
|
||||
|
||||
# Install with options
|
||||
bash /tmp/easytier.sh install --skip-folder-verify
|
||||
bash /tmp/easytier.sh install --no-gh-proxy
|
||||
bash /tmp/easytier.sh install --gh-proxy https://your-proxy.com/
|
||||
|
||||
# Update EasyTier
|
||||
bash /tmp/easytier.sh update
|
||||
|
||||
# Uninstall EasyTier
|
||||
bash /tmp/easytier.sh uninstall
|
||||
```
|
||||
|
||||
6. **Install by Homebrew (For MacOS Only)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user