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