Skip to content

fix(install): point Windows users at Scoop instead of failing#1289

Merged
Soph merged 1 commit into
mainfrom
soph/win-install-improvement
May 28, 2026
Merged

fix(install): point Windows users at Scoop instead of failing#1289
Soph merged 1 commit into
mainfrom
soph/win-install-improvement

Conversation

@Soph
Copy link
Copy Markdown
Collaborator

@Soph Soph commented May 28, 2026

https://entire.io/gh/entireio/cli/trails/446

Summary

  • Git Bash / MSYS / Cygwin shells return mingw*/msys*/cygwin* from uname -s and fell into the generic "Unsupported operating system" branch in install.sh.
  • The Entire CLI does ship a Windows build (via goreleaser + the Scoop bucket); install.sh just doesn't know how to fetch it.
  • Detect those shells and exit with a message pointing at scoop install entire/cli and the release zip download.

Test plan

  • Run bash scripts/install.sh from Git Bash on Windows and verify the new Scoop-pointer message is shown instead of "Unsupported operating system: mingw64_nt-...".
  • Confirm macOS/Linux installs are unchanged.

🤖 Generated with Claude Code


Note

Low Risk
Install-script UX only; no change to download, verify, or install logic on supported platforms.

Overview
scripts/install.sh now treats Git Bash, MSYS, and Cygwin as Windows when uname -s matches mingw*, msys*, or cygwin*. Instead of the generic unsupported-OS error, the script exits with guidance to install via scoop install entire/cli or download the latest Windows release zip from GitHub.

macOS and Linux detection paths are unchanged.

Reviewed by Cursor Bugbot for commit 73d7825. Configure here.

Git Bash / MSYS / Cygwin shells return mingw*/msys*/cygwin* from
uname -s, which fell into the generic "Unsupported operating system"
branch. The Entire CLI does ship a Windows build (via goreleaser +
the Scoop bucket); install.sh just doesn't know how to fetch it.
Detect those shells and exit with a message pointing at
`scoop install entire/cli` and the release zip.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: c20147894843
Copilot AI review requested due to automatic review settings May 28, 2026 09:59
@Soph Soph requested a review from a team as a code owner May 28, 2026 09:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the scripts/install.sh installer UX so that Git Bash/MSYS/Cygwin environments on Windows no longer fall into the generic “Unsupported operating system” path, and instead receive Windows-specific guidance.

Changes:

  • Detect uname -s values matching mingw*, msys*, or cygwin*.
  • Exit early with instructions to install via Scoop (and a link to the latest GitHub release page for Windows zip downloads).

Comment thread scripts/install.sh
@Soph Soph merged commit 44b30ef into main May 28, 2026
11 checks passed
@Soph Soph deleted the soph/win-install-improvement branch May 28, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants