Open History to see the last commit
1# Install T3 Code
2
3T3 Code is a web and desktop GUI for running coding agents on your machine.
4
5## Requirements
6
7Node.js `^22.16 || ^23.11 || >=24.10` on the machine that runs the T3 Code server.
8
9At least one provider runtime, installed and authenticated. You can install Antigravity from
10T3 Code settings. See [Providers](#providers) below.
11
12## Run Without Installing
13
14```bash
15npx t3@latest
16```
17
18This starts the T3 Code server on your machine and opens the local web app. Use
19`npx t3@latest --help` for the full CLI reference.
20
21## Open a project in the desktop app
22
23When the T3 Code desktop app is running on the same machine, open the current directory with:
24
25```bash
26npx t3 app
27```
28
29Pass a path to open another directory:
30
31```bash
32npx t3 app ../my-project
33```
34
35The command adds the directory as a project when needed, focuses the desktop app, and opens a new
36thread. It does not launch the desktop app, open a browser, or start a T3 Code server. A background
37server does not count as the desktop app. The command also rejects SSH sessions because a remote
38shell cannot focus a local desktop window. The CLI package and the running desktop app must both
39include `t3 app` support.
40
41## Desktop App
42
43Download the latest release from
44[GitHub Releases](https://github.com/pingdotgg/t3code/releases), or install from a package
45registry.
46
47Windows:
48
49```bash
50winget install T3Tools.T3Code
51```
52
53macOS:
54
55```bash
56brew install --cask t3-code
57```
58
59Arch Linux:
60
61Stable:
62
63```bash
64yay -S t3code-bin
65```
66
67Nightly:
68
69```bash
70yay -S t3code-nightly-bin
71```
72
73### Windows Subsystem for Linux
74
75When the desktop app runs a WSL backend, it installs the matching server runtime into
76`~/.t3/wsl-runtime` inside the selected distro. The first launch after installing or updating T3
77Code may take a little longer while that release's runtime is extracted. Later launches reuse the
78Linux-local copy so startup does not depend on reading application files through `/mnt/c`. After a
79successful launch, T3 Code keeps the current runtime and one previous runtime for rollback and
80removes older caches automatically. If a cached runtime stops working, T3 Code launches from the
81application files under `/mnt/c` instead and reinstalls the runtime on the next launch.
82
83## Providers
84
85T3 Code uses provider runtimes but does not bundle them. Install and authenticate each
86provider's CLI, or use T3 Code's managed setup for Antigravity.
87
88| Provider | CLI | Default binary | Log in with |
89| ----------- | ---------------------------------------------------------------------------------------------------------- | ------------------ | ---------------------------------- |
90| Codex | [Codex CLI](https://developers.openai.com/codex/cli) | `codex` | `codex login` |
91| Claude | [Claude Code](https://claude.com/product/claude-code) | `claude` | `claude auth login` |
92| Cursor | [Cursor CLI](https://cursor.com/cli) | `cursor-agent` | `agent login` |
93| Grok Build | [Grok Build CLI](https://x.ai/cli) | `grok` | `grok login` |
94| OpenCode | [OpenCode](https://opencode.ai) | `opencode` | `opencode auth login` |
95| Antigravity | [Official ACP agent](https://github.com/agentclientprotocol/registry/blob/main/antigravity-acp/agent.json) | Managed by T3 Code | **Sign in with Google** in T3 Code |
96
97Codex and Claude are on by default. Cursor, Grok Build, OpenCode, and Antigravity are off by
98default. Turn them on in **Settings** > **Providers** when you want to use them.
99
100For Antigravity, select the environment in provider settings, then install and sign in there.
101The runtime and credentials stay on that environment, even when you use a phone or remote
102browser. See [Antigravity setup](./providers-antigravity.md) for Google sign-in, remote callback
103steps, and supported hosts.
104
105Cursor is the one to watch: install Cursor CLI, which provides the `cursor-agent` binary that
106T3 Code looks for, but authenticate with `agent login`, not `cursor-agent login`.
107
108Grok models that support adjustable reasoning show a **Reasoning** control beside the model picker.
109The available levels and default come from the installed Grok Build CLI, so they can vary by model
110and CLI version.
111
112Run CLI login commands on the machine running the T3 Code server, not on the device you browse
113from. Antigravity uses its sign-in controls in T3 Code instead of a CLI login command.
114
115### Binary Discovery
116
117Each provider CLI must be on the server's `PATH`, or have an explicit binary path set in
118**Settings** → the provider instance → **Binary path**. Use the explicit path when a version
119manager or a non-standard install location keeps the CLI off the `PATH` of the shell that
120started T3 Code.
121
122Antigravity can use its managed runtime without a `PATH` entry. Its optional **Binary path**
123overrides the managed runtime and must point to the official ACP executable.
124
125### When Auth Is Needed
126
127Provider auth is required before you start a session with that provider, not before you start
128T3 Code. You can install T3 Code, open it, and add providers afterwards. A provider that is not
129authenticated shows its status and setup instructions in **Settings**.
130
131For multi-account setups, see [Codex](./providers-codex.md), [Claude](./providers-claude.md), and
132[Antigravity](./providers-antigravity.md#accounts-and-removal).
133
134## Next Steps
135
136- [Permission modes](./permission-modes.md): how much T3 Code asks before acting
137- [Remote access](./remote-access.md): connect from a phone, tablet, or another desktop
138- [Keeping T3 Code in sync](./updating.md): client and server version skew
139- [Running in the background](./background-service.md): Linux background service