Native Windows PowerShell installer (irm | iex)#124
Merged
Conversation
`curl … | sh` only works in a POSIX shell, so on native Windows PowerShell it failed with "sh is not recognized". Add install.ps1 so every platform has one native command that goes from terminal to the `ordo init` wizard in the same session — the Claude Code install model: macOS/Linux curl -fsSL …/install.sh | sh (also wget, also Git Bash) Windows irm …/install.ps1 | iex install.ps1 mirrors install.sh step-for-step (prereqs → clone → venv + pip install . → ordo init), PS 5.1-compatible, and probes python/py/python3 so Windows' `python` is found. Because irm|iex leaves the console attached, the wizard runs fully interactively in the same terminal. README + operator guide now show the per-platform commands. Validated end-to-end on Windows: fresh clone of main → venv → pip install → `ordo init` wrote out/ordo.yaml + out/secrets.env (11 keys), ordo --help ok. Co-Authored-By: Claude Opus 4.8 <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.
What
Adds
install.ps1— a native Windows PowerShell installer — so the one-command install works on every platform, landing in the same interactiveordo initwizard (the Claude Code model).curl -fsSL …/install.sh | sh(orwget -qO- …)irm …/install.ps1 | iexWhy
curl … | shonly works inside a POSIX shell. On native Windows PowerShell it fails with "sh is not recognized".install.ps1gives Windows a real one-liner instead of "go open a different shell."Details
install.shstep-for-step: prereqs (git, docker,docker composev2, Python 3.11+, GPU warn) → clone →.venv+pip install .→ordo init.python/py -3/python3(Windows shipspython, notpython3).irm | iexleaves the console attached, so the wizard is fully interactive in the same terminal; redirected/headless input falls back toordo init --yes(config only).docs/operator-guide.mdnow show per-platform commands.Validation
End-to-end on Windows 11 / PowerShell 5.1: fresh clone of
main→ venv →pip install .→ordo initwroteout/ordo.yaml+out/secrets.env(11 keys, 6 internal generated),ordo --helpexit 0. Isolated temp dir, liveout/untouched.🤖 Generated with Claude Code