Repository navigation
feat: one-line install script (curl | sh) - #276
Merged
Merged
Conversation
Platform-detecting installer for macOS/Linux release binaries: - latest tag via /releases/latest redirect, REST API fallback (unauthenticated), tag-format guard against proxy-interfered redirects - sha256 verified against the release SHA256SUMS.txt before install - installs to FUSION_CODE_INSTALL_DIR (default ~/.local/bin, no sudo); PATH hint when the dir is not on PATH - pinned version arg (v-prefix optional), FUSION_CODE_RELEASE_BASE override for mirrors/testing - fast-fail downloads (--connect-timeout 15) README install section leads with the one-liner; manual download table kept below. Windows stays manual (.zip) — documented in the script.
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.
Binary installer for macOS/Linux releases, replacing the stale upstream-branded source installer (
free-coderesidue, git-clone based) with a sha256-verified binary install.Features
/releases/latestredirect primary, unauthenticated REST API fallback, tag-format guard against proxy-interfered redirectsSHA256SUMS.txtbefore install (fail-closed)FUSION_CODE_INSTALL_DIR(default~/.local/bin, no sudo) + PATH hint; pinned version arg (v-prefix optional);FUSION_CODE_RELEASE_BASEoverride for mirrors/testing;--connect-timeout 15fast-fail downloadsREADME install section now leads with the one-liner:
curl -fsSL https://raw.githubusercontent.com/dahai80/fusion-code/main/install.sh | shVerification
fusion-code --versionrunsvprefix works; PATH hint fires on non-PATH dirsNote: GitHub release CDN (
release-assets.githubusercontent.com) is currently unreachable from the dev machine — script behavior verified via the local-release e2e above; live CDN download is environmental, not a script defect.