Skip to content

GTST-15 feat: universal shell installer for Linux and macOS#13

Merged
MonteYin merged 1 commit intomainfrom
GTST-15.feat/install-script
Mar 25, 2026
Merged

GTST-15 feat: universal shell installer for Linux and macOS#13
MonteYin merged 1 commit intomainfrom
GTST-15.feat/install-script

Conversation

@MonteYin
Copy link
Copy Markdown
Owner

@MonteYin MonteYin commented Mar 25, 2026

Summary

Add install.sh — a universal installer that downloads the correct binary from GitHub Release.

Features

  • Auto-detect OS (Linux / macOS) and architecture (x86_64 / aarch64)
  • Fetch latest version from GitHub API
  • Download binary and verify SHA256 checksum
  • Install to /usr/local/bin (or INSTALL_DIR)
  • Works with curl or wget
  • Uses musl targets for Linux (zero runtime dependencies)

Tested

  • macOS ARM (local): install + gitsift --version + gitsift --help
  • Ubuntu 22.04 aarch64 (Docker native): install + gitsift --version + gitsift --help
  • Ubuntu 22.04 x86_64 (Docker --platform linux/amd64): install + gitsift --version + gitsift --help
  • Homebrew formula updated with musl targets + new checksums, reinstall verified

- install.sh: auto-detect OS (Linux/macOS) + arch (x86_64/aarch64)
- Downloads from GitHub Release, verifies SHA256 checksum
- Installs to /usr/local/bin (or INSTALL_DIR env var)
- Uses musl target names for Linux (static binaries)
- Supports curl and wget, sha256sum and shasum
- Update README with shell script as primary install method
@MonteYin MonteYin merged commit c641a7f into main Mar 25, 2026
4 checks passed
@MonteYin MonteYin deleted the GTST-15.feat/install-script branch March 25, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant