Skip to content

feat: one-line install.sh, published as a release asset - #290

Merged
popodidi merged 1 commit into
mainfrom
axe/task-2511--work
Dec 2, 2026
Merged

popodidi merged 1 commit into
mainfrom
axe/task-2511--work

Conversation

@popodidi

@popodidi popodidi commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • install.sh (POSIX sh): picks the Linux x86_64 or macOS arm64 release tarball (latest, or AXE_VERSION), checks it against the release's SHA256SUMS, installs axe to ~/.local/bin (or AXE_INSTALL_DIR; prints a PATH hint, never edits shell rc files), runs axe skill install, and ends by pointing the user at their coding agent. Other platforms get the cargo install --locked --git ... --tag <tag> axe-os fallback and exit 1. No sudo.
  • The latest tag comes from releases/latest/download/SHA256SUMS (asset names carry the tag), so no GitHub API call or redirect parsing.
  • release.yml publishes install.sh as a release asset (with its .sha256 and a SHA256SUMS line), so https://github.com/popodidi/axe/releases/latest/download/install.sh works from the next release.
  • CI (rust job): shellcheck, then scripts/test_install.sh target/debug/axe: installs from a file:// release fixture under sh into scratch HOMEs (latest; AXE_VERSION + AXE_INSTALL_DIR), checks axe --version and the skill, and that a bad checksum and an unsupported platform abort without installing.
  • README and docs/user/getting-started/install.md lead with curl -fsSL https://axe-os.io/install.sh | sh; cargo install stays as the fallback.

Test plan

  • shellcheck install.sh scripts/test_install.sh clean
  • scripts/test_install.sh target/debug/axe: 4/4 ok
  • sh install.sh in a scratch HOME against the live v0.6.2 release: installed axe 0.6.2 (0add88f8293e) and the skill
  • CI green

🤖 Generated with Claude Code

install.sh (POSIX sh) installs the Linux x86_64 or macOS arm64 release
binary to ~/.local/bin after checking it against SHA256SUMS, runs
axe skill install and points the user at their coding agent. Other
platforms get the cargo install --tag fallback and a non-zero exit.
The release publishes it, so releases/latest/download/install.sh works.
CI runs shellcheck and scripts/test_install.sh against a local fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@popodidi
popodidi merged commit 9e3c8fc into main Dec 2, 2026
3 checks passed
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