Skip to content

feat(installer): add Linux installer script for release binaries#37

Merged
mchurichi merged 2 commits intomainfrom
feat/linux-install-script
Feb 28, 2026
Merged

feat(installer): add Linux installer script for release binaries#37
mchurichi merged 2 commits intomainfrom
feat/linux-install-script

Conversation

@mchurichi
Copy link
Owner

What

  • Added scripts/get-peek.sh, a POSIX sh Linux installer/uninstaller for release binaries.
  • Added install flows for latest/specific version, user/system install targets, and uninstall with optional --purge and --force.
  • Added architecture/downloader/checksum handling in the script (amd64/arm64, curl/wget, SHA-256 verification).
  • Updated consumer docs in README.md with install/uninstall usage examples.
  • Updated technical docs in docs/README.md with installer behavior and GoReleaser naming/checksum coupling.
  • Updated AGENTS.md to document new commands, structure entry, and installer compatibility rule.

Why

Installing peek from GitHub releases on Linux was manual and error-prone.
This adds a single script for consistent install/uninstall behavior and documents the expected release artifact contract so future release changes do not break installation.

Related Issue

  • N/A

Testing Done

  • Manual script-path validation and docs update review on branch.
  • scripts/get-peek.sh includes non-interactive safety for uninstall --purge (requires --force when no TTY).

@mchurichi mchurichi added the skip-release Skips release bump label Feb 28, 2026
@github-actions
Copy link

Release Label Suggestion

Suggested label: release:minor
If merged now, estimated next tag: v0.5.0
Why: Conventional prefix in title/header: feat (source: PR title)

You can change this by updating PR labels before merge.

Allowed labels (exactly one required):

  • release:patch
  • release:minor
  • release:major
  • skip-release

@mchurichi
Copy link
Owner Author

@codex review this PR

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mchurichi mchurichi merged commit 0a7294e into main Feb 28, 2026
3 checks passed
@mchurichi mchurichi deleted the feat/linux-install-script branch February 28, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release Skips release bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant