Skip to content

feat: one-line install scripts for all platforms#4

Merged
jarvan1 merged 1 commit into
mainfrom
feat/install-script
Jul 8, 2026
Merged

feat: one-line install scripts for all platforms#4
jarvan1 merged 1 commit into
mainfrom
feat/install-script

Conversation

@jarvan1

@jarvan1 jarvan1 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

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 | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/jarvan1/aiss/main/install.ps1 | iex

Behavior (both scripts)

  • Detect OS/arch and map to the goreleaser asset name (aiss_<ver>_<os>_<arch>.tar.gz / .zip).
  • Resolve the latest release via the GitHub API, or install a pinned AISS_VERSION (skips the API).
  • Download the asset and verify its SHA-256 against checksums.txt; abort on mismatch.
  • Install to a sensible default (~/.local/bin / %LOCALAPPDATA%\Programs\aiss), overridable via AISS_INSTALL_DIR.
  • install.sh is POSIX sh (works under dash/ash/busybox), strips the macOS Gatekeeper quarantine flag, and warns if the dir isn't on PATH.
  • install.ps1 appends the install dir to the user PATH.

Testing

  • install.sh tested end-to-end on macOS/arm64 against the real v0.1.4 release: download → checksum ok → extract → install → aiss 0.1.4 runs. sh -n clean. Checksum-mismatch branch verified to abort.
  • install.ps1 mirrors 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

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>
@jarvan1
jarvan1 merged commit 762c15e into main Jul 8, 2026
1 check passed
@jarvan1
jarvan1 deleted the feat/install-script branch July 8, 2026 08:19
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