feat: Add install scripts for standalone binary distribution - #632
Merged
Conversation
Add install.sh (Linux and macOS) and install.ps1 (Windows) that download the standalone binary from GitHub Releases, verify its SHA-256 checksum against the release's checksums.txt in a temporary directory before installing, and run seam completion --install. The install directory defaults to an XDG-style cascade: SEAM_BIN_PATH, then XDG_BIN_HOME, then XDG_DATA_HOME/../bin, then ~/.local/bin (LOCALAPPDATA\seam\bin on Windows). Flags: --version to pin a release, --bin-path to choose the directory, and --no-install-completion to leave shell configuration untouched. Test the scripts on Linux, macOS, and Windows in a dedicated workflow that runs only when the scripts change, including negative tests that a checksum mismatch refuses to install. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtYdE6UGg6ZR7ieqS5YpHt
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtYdE6UGg6ZR7ieqS5YpHt
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtYdE6UGg6ZR7ieqS5YpHt
When the install directory is not on PATH, install.sh now appends the PATH entry to the user's shell configuration instead of only printing an instruction, detecting bash, fish, or zsh and picking the configuration file the same way as seam completion --install. The edit is idempotent. When the shell cannot be detected, or with --no-modify-path (or SEAM_NO_MODIFY_PATH=1), the script prints the manual instruction instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtYdE6UGg6ZR7ieqS5YpHt
razor-x
marked this pull request as ready for review
August 20, 2026 17:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add shell and PowerShell installer scripts to simplify installation of the Seam CLI from GitHub Releases, along with automated testing.
Summary
This change provides convenient installation scripts for users to download and install the Seam CLI binary directly from GitHub Releases, with built-in checksum verification and shell completion setup.
Key Changes
install.sh: POSIX shell script for Linux and macOS that:
checksums.txtbefore installation$SEAM_BIN_PATH,$XDG_BIN_HOME,$XDG_DATA_HOME/../bin, or~/.local/bin)seam completion --installfor shell integrationinstall.ps1: PowerShell script for Windows that:
.github/workflows/install-standalone.yml: CI workflow that:
README.md: Updated installation documentation to promote the new installer scripts as the primary installation method for standalone binaries
Notable Implementation Details
SEAM_DOWNLOAD_URLhttps://claude.ai/code/session_01LtYdE6UGg6ZR7ieqS5YpHt