feat: one-line curl|sh installer#13
Merged
Merged
Conversation
Add install.sh (served from main) so non-Homebrew users get a single-command path: curl -fsSL https://raw.githubusercontent.com/Cerid-AI/quenchforge/main/install.sh | sh It resolves the latest release, downloads the universal darwin_all tarball, verifies SHA-256 against checksums.txt, installs both binaries to /usr/local/bin, gates on quenchforge-preflight (status=ok), and writes the LaunchAgent + prestart guard via `quenchforge install`. Knobs: QUENCHFORGE_VERSION / QUENCHFORGE_PREFIX / QUENCHFORGE_NO_SERVICE. macOS-only; per-user LaunchAgent on purpose (Metal needs an Aqua session). Also: lead the README Quickstart with the one-liner; fix the GitHub-release footer, which referenced a non-existent quenchforge-preflight_*_darwin_universal asset (real artifact is quenchforge_<ver>_darwin_all.tar.gz). shellcheck-clean; tested end-to-end against the live v0.8.1 release into a temp prefix (download + checksum + extract + preflight all verified).
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.
Adoption: gives non-Homebrew users a single-command install, shoring up the install story as the outreach posts start landing.
curl -fsSL https://raw.githubusercontent.com/Cerid-AI/quenchforge/main/install.sh | shWhat it does: resolves the latest release → downloads the universal
darwin_alltarball (bundles both binaries) → verifies SHA-256 againstchecksums.txt→ installs to/usr/local/bin(sudo only if needed) → gates onquenchforge-preflight(status=ok) → writes the LaunchAgent + prestart port guard viaquenchforge install. Prints copy-paste next-steps (pull a model + bootstrap).Design notes:
ProcessType Interactive).QUENCHFORGE_VERSION(pin),QUENCHFORGE_PREFIX(relocate),QUENCHFORGE_NO_SERVICE=1(binaries only).Also: README Quickstart now leads with the one-liner; fixed the GitHub-release footer that pointed at a non-existent
quenchforge-preflight_*_darwin_universal.tar.gz(real asset isquenchforge_<ver>_darwin_all.tar.gz).Testing: shellcheck-clean,
sh -nOK, goreleaser YAML parses; ran end-to-end against the live v0.8.1 release into a temp prefix withQUENCHFORGE_NO_SERVICE=1— version resolution, download, checksum verify, extract, and preflight gate all confirmed (binaries land +quenchforge version= 0.8.1). The service-setup path is covered byTestInstall_WritesPlistAndPrestartGuard+ was verified live earlier.