The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 15:30 UTC
docs(pi): update installation and remote login guidance (#17836)
Wout Stiens committed
Oct 11, 2026 at 00:46 UTC
e408cac0d7d903ccfcecfb906d4e48292294ab55
3 files changed
+22
-5
docs/user/install.md
+1
-1
@@ -142,7 +142,7 @@ computer.
142
| Grok Build | Install [Grok Build CLI](https://x.ai/cli), then run `grok login`. |
143
| OpenCode | Install [OpenCode](https://opencode.ai), then run `opencode auth login`. |
144
| Antigravity | Install and sign in with Google from T3 Code's provider settings. |
145
-| Pi | Install [Pi](https://pi.dev), then run `pi` once to finish its login or API-key setup. |
145
+| Pi | Install [Pi](./providers-pi.md#set-up-pi) with Node.js 22.19 or newer, then run `pi` and `/login`. |
146
| Muse Code | Install [Muse Code](https://dev.meta.ai/docs/muse-code) on the server, run `muse login`, then enable it in Settings → Providers. |
147
148
Provider CLIs must be on the server's `PATH`. If T3 Code cannot find one, set its
docs/user/providers-pi.md
+20
-3
@@ -5,17 +5,34 @@ extensions, skills, context files, and native session history.
5
6
## Set Up Pi
7
8
-1. Install Pi on the machine running the T3 Code server. Pi 1.0 is recommended; 0.80.5 is the
9
- oldest version T3 Code supports.
10
-2. Run Pi once in a terminal and finish the provider login or API-key setup you normally use.
8
+1. Install [Pi](https://pi.dev) on the machine running the T3 Code server. Pi requires Node.js
9
+ 22.19 or newer; its platform installers can install Node if needed. T3 Code supports Pi
10
+ 0.80.5 or newer.
11
+2. Run `pi` in a terminal, then `/login` to connect your model provider or configure its API key.
12
3. Open T3 Code Settings, enable Pi, and refresh the provider.
13
14
+For an npm installation, use:
15
+
16
+```sh
17
+npm install -g --ignore-scripts @earendil-works/pi-coding-agent
18
+```
19
+
20
If `pi` is not on the server's `PATH`, set Pi's binary path to the executable. Provider environment
21
variables and launch arguments are also available for installations that need a custom agent
22
directory, endpoint, or model configuration. `--provider` must be paired with `--model`. T3 Code
23
rejects launch arguments that change Pi's execution mode or select a session because T3 owns those
24
parts of the process lifecycle.
25
26
+On a remote or headless server, connect to that machine over SSH and run `pi`, then `/login`.
27
+Open the authorization URL on your own computer. If the callback cannot reach the server,
28
+paste the final redirect URL or authorization code back into Pi when prompted. You can also
29
+set your model provider's API-key environment variable in the Pi instance's settings; mark
30
+secret values as sensitive.
31
+
32
+Update installer-managed Pi with `pi update`. If another package manager owns the installation,
33
+update it through that manager instead. For example, a Nix profile installation uses
34
+`nix profile upgrade pi`.
35
+
36
## What Carries Over
37
38
T3 Code discovers the models reported by Pi and exposes their supported thinking levels. The
packages/provider-pi/src/server/status.ts
+1
-1
@@ -303,7 +303,7 @@ export const checkPiProviderStatus = Effect.fn("checkPiProviderStatus")(function
303
status: "error",
304
auth: { status: "unknown" },
305
message: isCommandMissingCause(error)
306
- ? "Pi CLI (`pi`) is not installed or not on PATH. Install with `npm install -g @earendil-works/pi-coding-agent`."
306
+ ? "Pi CLI (`pi`) is not installed or not on PATH. Install with `npm install -g --ignore-scripts @earendil-works/pi-coding-agent`."
307
: "Failed to execute Pi CLI health check.",
308
},
309
});