You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(install): enhance installer with force option and version detection
- Add --force flag to allow non-interactive reinstallation/upgrade.
- Improve download progress output with speed information.
- Automatically detect and display the latest version from GitHub.
- Update README with usage instructions for the force option.
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,12 @@
35
35
```bash
36
36
# Install latest version for your platform (auto-detects OS/arch)
37
37
curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/master/scripts/install.sh | sh
38
+
39
+
# Force reinstall/upgrade without prompts
40
+
curl -fsSL https://raw.githubusercontent.com/ali-master/pingu/master/scripts/install.sh | sh -s -- --force
38
41
```
39
42
40
-
> **Note**: The installer automatically detects your operating system and CPU architecture, downloads the appropriate binary, and installs it to your system. It will try to install to `/usr/local/bin` (with sudo if needed) or fall back to `~/bin`.
43
+
> **Note**: The installer automatically detects your operating system and CPU architecture, downloads the appropriate binary, and installs it to your system. It will try to install to `/usr/local/bin` (with sudo if needed) or fall back to `~/.local/bin`. When run non-interactively (piped), it will automatically proceed with upgrades.
0 commit comments