v0.2.1: Windows binaries, install.ps1, INSTALL.md#78
Merged
Conversation
Cross-platform install on a single canonical entry point. No code changes; release pipeline + install UX only. - .goreleaser.yaml: add windows to goos, format_overrides for zip on Windows. v0.2.1 will publish skern_<version>_windows_amd64.zip and skern_<version>_windows_arm64.zip alongside the existing macOS and Linux tarballs. - scripts/install.ps1: PowerShell installer mirroring scripts/install.sh. Detects amd64/arm64, downloads the matching zip, verifies SHA-256 against checksums.txt, extracts to %LOCALAPPDATA%\skern\bin, and warns if the dir is not on PATH. Honors SKERN_INSTALL_DIR and SKERN_VERSION env vars (parity with the bash script). - INSTALL.md: new top-level install guide. Three OS sections (macOS / Linux / Windows), each with one canonical command. Plus verify, version pinning, manual install (releases page + checksum pattern), build-from-source (go install) as a developer fallback, and uninstall. - README: install section now shows the three OS one-liners side-by-side, with go install marked "from source" and a link to INSTALL.md for full coverage. - CHANGELOG: v0.2.1 entry. Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Summary
Cross-platform install on a single canonical entry point. No code changes; release pipeline + install UX only.
.goreleaser.yaml: addwindowstogoos,format_overridesfor zip on Windows. Releases will publishskern_<version>_windows_{amd64,arm64}.zipalongside the existing macOS/Linux tarballs.scripts/install.ps1(new): PowerShell installer mirroringscripts/install.sh. Detects amd64/arm64, downloads the matching zip, verifies SHA-256 againstchecksums.txt, extracts to%LOCALAPPDATA%\skern\bin, warns if the dir is not on PATH. HonorsSKERN_INSTALL_DIRandSKERN_VERSIONenv vars (parity with the bash script).INSTALL.md(new): top-level install guide structured for both humans and LLM agents — three OS sections (macOS / Linux / Windows), each with one canonical command, plus verify / version pinning / manual install / build from source (developer fallback) / uninstall.README.md: install section now shows the three OS one-liners side-by-side and links toINSTALL.md.CHANGELOG.md: v0.2.1 entry.Why
Per a survey of modern agentic + Go/Rust CLIs (Claude Code, uv, bun, deno, ollama, fly), the dominant cross-platform install pattern is twin scripts:
curl | bashfor Unix +irm | iexfor Windows, both linked from the README. Skern shipped only the Unix half through v0.2.0; this PR ships the Windows half. INSTALL.md is the canonical single URL that an agent can be told to read and execute on any OS.go installis preserved as the developer-audience fallback (no Go-toolchain prereq for users who just want the binary).Test plan
v0.2.1, watch GoReleaser publish the 6-binary matrix (was 4)irm https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.ps1 | iexon a Windows host, thenskern --versionFollow-up (not in this PR)
windows-latestto CI matrix to validate Go build + install.ps1 on every push (ci.yml currently runs only Linux + macOS).🤖 Generated with Claude Code