fix(install): point Windows users at Scoop instead of failing#1289
Merged
Conversation
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
Contributor
There was a problem hiding this comment.
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 -svalues matchingmingw*,msys*, orcygwin*. - Exit early with instructions to install via Scoop (and a link to the latest GitHub release page for Windows zip downloads).
pjbgf
approved these changes
May 28, 2026
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.
https://entire.io/gh/entireio/cli/trails/446
Summary
mingw*/msys*/cygwin*fromuname -sand fell into the generic "Unsupported operating system" branch ininstall.sh.install.shjust doesn't know how to fetch it.scoop install entire/cliand the release zip download.Test plan
bash scripts/install.shfrom Git Bash on Windows and verify the new Scoop-pointer message is shown instead of "Unsupported operating system: mingw64_nt-...".🤖 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.shnow treats Git Bash, MSYS, and Cygwin as Windows whenuname -smatchesmingw*,msys*, orcygwin*. Instead of the generic unsupported-OS error, the script exits with guidance to install viascoop install entire/clior download the latest Windows release zip from GitHub.macOS and Linux detection paths are unchanged.
Reviewed by Cursor Bugbot for commit 73d7825. Configure here.