feat: one-line install scripts for all platforms#4
Merged
Conversation
Add install.sh (Linux/macOS, POSIX sh) and install.ps1 (Windows PowerShell) so aiss can be installed with a single curl|sh / irm|iex line. Both detect os/arch, resolve the latest release (or a pinned AISS_VERSION), download the matching release asset, verify its sha256 against checksums.txt, and install to a sensible default (~/.local/bin or %LOCALAPPDATA%\Programs\aiss, overridable via AISS_INSTALL_DIR). install.sh strips the macOS quarantine flag and warns if the dir isn't on PATH; install.ps1 appends to the user PATH. README documents both one-liners. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Adds two installer scripts so aiss can be installed with a single command, no toolchain or Homebrew required.
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/jarvan1/aiss/main/install.sh | shWindows (PowerShell):
Behavior (both scripts)
aiss_<ver>_<os>_<arch>.tar.gz/.zip).AISS_VERSION(skips the API).checksums.txt; abort on mismatch.~/.local/bin/%LOCALAPPDATA%\Programs\aiss), overridable viaAISS_INSTALL_DIR.install.shis POSIXsh(works under dash/ash/busybox), strips the macOS Gatekeeper quarantine flag, and warns if the dir isn't onPATH.install.ps1appends the install dir to the userPATH.Testing
install.shtested end-to-end on macOS/arm64 against the real v0.1.4 release: download →checksum ok→ extract → install →aiss 0.1.4runs.sh -nclean. Checksum-mismatch branch verified to abort.install.ps1mirrors the same logic; not run on Windows in this environment (no pwsh available here).Note
The one-liner URLs point at
main, so they only resolve after this PR is merged.🤖 Generated with Claude Code