Skip to content

feat(windows): ship Windows builds, installer, and self-update support - #71

Merged
sawka-harness merged 8 commits into
mainfrom
fix/windows-release
Aug 4, 2026
Merged

feat(windows): ship Windows builds, installer, and self-update support#71
sawka-harness merged 8 commits into
mainfrom
fix/windows-release

Conversation

@BlueLabelscotch

Copy link
Copy Markdown
Collaborator

Summary

Adds first-class Windows support. The CLI already ran on Windows but couldn't
be packaged, installed, or self-updated there. This PR publishes Windows
.zip artifacts, teaches harness install cli about Windows, fixes plugin
.exe discovery, and adds install.ps1 (the PowerShell counterpart to
install.sh). Verified end-to-end on a real Windows machine.

Changes

  • .goreleaser.yaml: build windows for core + har; zip archives on Windows
  • install.go: Windows in detectPlatform, %LOCALAPPDATA% default dir,
    .exe handling, zip extract
  • plugin.go: resolve harness-har.exe sidecar on Windows
  • install.ps1 (new): download zip, verify checksum, extract, update PATH +
    completions; HARNESS_INSTALL_BASE_URL override for mirrors/air-gapped
  • Docs/dev: README, manual-install.md, core.spec.yaml, and
    task build:windows
  • Tests: zip extract, platform detect, sibling .exe lookup

Install / download (Windows)

One-line installer (after a release with Windows zips is tagged):

irm https://raw.githubusercontent.com/harness/cli/main/install.ps1 | iex

@sawka-harness
sawka-harness merged commit bae2bc6 into main Aug 4, 2026
1 check passed
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.

2 participants