Skip to content

Native Windows PowerShell installer (irm | iex)#124

Merged
AlienWalker1995 merged 1 commit into
mainfrom
feat/windows-installer
Jul 26, 2026
Merged

Native Windows PowerShell installer (irm | iex)#124
AlienWalker1995 merged 1 commit into
mainfrom
feat/windows-installer

Conversation

@AlienWalker1995

Copy link
Copy Markdown
Owner

What

Adds install.ps1 — a native Windows PowerShell installer — so the one-command install works on every platform, landing in the same interactive ordo init wizard (the Claude Code model).

Platform Command
macOS / Linux (bash·zsh·Git Bash) curl -fsSL …/install.sh | sh (or wget -qO- …)
Windows (PowerShell) irm …/install.ps1 | iex

Why

curl … | sh only works inside a POSIX shell. On native Windows PowerShell it fails with "sh is not recognized". install.ps1 gives Windows a real one-liner instead of "go open a different shell."

Details

  • Mirrors install.sh step-for-step: prereqs (git, docker, docker compose v2, Python 3.11+, GPU warn) → clone → .venv + pip install .ordo init.
  • PS 5.1-compatible; probes python / py -3 / python3 (Windows ships python, not python3).
  • irm | iex leaves the console attached, so the wizard is fully interactive in the same terminal; redirected/headless input falls back to ordo init --yes (config only).
  • README + docs/operator-guide.md now show per-platform commands.

Validation

End-to-end on Windows 11 / PowerShell 5.1: fresh clone of main → venv → pip install .ordo init wrote out/ordo.yaml + out/secrets.env (11 keys, 6 internal generated), ordo --help exit 0. Isolated temp dir, live out/ untouched.

🤖 Generated with Claude Code

`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>
@AlienWalker1995
AlienWalker1995 merged commit 2293b97 into main Jul 26, 2026
3 checks passed
@AlienWalker1995
AlienWalker1995 deleted the feat/windows-installer branch July 26, 2026 15:04
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.

1 participant