From e509d7edc78a51e241f7525c451012db17818179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Hou=C5=A1ka?= Date: Wed, 28 Oct 2026 10:10:44 +0100 Subject: [PATCH] docs(quickstart): add Windows installer tab (#11231) The Quickstart only showed the macOS/Linux `curl` installer, even though `install.ps1` installs Pi the same way: a managed install pinned by the published lockfile, updated with `pi update`. This PR adds the Windows installer as a second tab next to the existing one. All other sections stay the same. ````markdown Install Pi with the installer on macOS, Linux, or Windows: ```bash tab="macOS / Linux" curl -fsSL https://pi.dev/install.sh | sh ``` ```powershell tab="Windows" powershell -c "irm https://pi.dev/install.ps1 | iex" ``` Both installers pin all dependencies and update Pi with `pi update`. ... ```` The tabs are labelled by platform rather than by shell: newcomers know their OS, and the command also works when pasted into cmd. Tab rendering on pi.dev comes from earendil-works/pi.dev#183. This PR can merge before or after it. Until the renderer ships, and on GitHub, the page shows two ordinary code blocks, and the prose still reads correctly. ## Screenshots (with earendil-works/pi.dev#183) | | Default | Windows tab selected | |---|---|---| | Dark | ![dark default](https://gist.githubusercontent.com/petrroll/27308d9d8522c90ea5b290b0c3ba9862/raw/cad05d1cf643903955af7282763e22ff2a101e73/dark-unix.png) | ![dark windows](https://gist.githubusercontent.com/petrroll/27308d9d8522c90ea5b290b0c3ba9862/raw/cad05d1cf643903955af7282763e22ff2a101e73/dark-windows-tab.png) | | Light | ![light default](https://gist.githubusercontent.com/petrroll/27308d9d8522c90ea5b290b0c3ba9862/raw/cad05d1cf643903955af7282763e22ff2a101e73/light-unix.png) | ![light windows](https://gist.githubusercontent.com/petrroll/27308d9d8522c90ea5b290b0c3ba9862/raw/cad05d1cf643903955af7282763e22ff2a101e73/light-windows-tab.png) | --- packages/coding-agent/docs/quickstart.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/coding-agent/docs/quickstart.md b/packages/coding-agent/docs/quickstart.md index 89b56f07e..44054e949 100644 --- a/packages/coding-agent/docs/quickstart.md +++ b/packages/coding-agent/docs/quickstart.md @@ -6,13 +6,17 @@ For native Windows setup, read [Windows Setup](windows.md). For Android, read [T ## 1. Install Pi -On macOS or Linux, you can use the installer: +Install Pi with the installer on macOS, Linux, or Windows: -```bash +```bash tab="macOS / Linux" curl -fsSL https://pi.dev/install.sh | sh ``` -The installer pins all dependencies and updates Pi with `pi update`. Alternatively, install Pi from npm, which does not pin transitive dependencies. This requires Node.js 22.19 or newer: +```powershell tab="Windows" +powershell -c "irm https://pi.dev/install.ps1 | iex" +``` + +Both installers pin all dependencies and update Pi with `pi update`. Alternatively, install Pi from npm, which does not pin transitive dependencies. This requires Node.js 22.19 or newer: ```bash npm install -g --ignore-scripts @earendil-works/pi-coding-agent