Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

install.md

142 lines6.2 KB

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