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

install.md

130 lines6.0 KB

1# Install T3 Code
2​
3T3 Code runs coding agents on your computer and lets you control them from its
4desktop, web, or mobile app. Set up the machine where the agents will work first.
5​
6## Requirements
7​
8`npx t3` needs Node.js only to run npm itself; the CLI it installs is a
9self-contained executable. SSH hosts and WSL backends need Node.js 22.16+
10(22.x), 23.11+ (23.x), or 24.10 and later. The native desktop app includes its
11server runtime.
12​
13You need an installed, authenticated provider before starting a thread. You can
14launch T3 Code and configure providers afterwards.
15​
16## Run without installing
17​
18```bash
19npx t3@latest
20```
21​
22This starts the server and opens the local web app. Run
23`npx t3@latest --help` for command-line options.
24​
25The executable is built for Apple Silicon Macs, Linux, and Windows. There is
26no Intel Mac build of it, because Node cannot produce a single executable for
27that platform; the Intel desktop app is unaffected. To run a standalone server
28on an Intel Mac, build it from source. You need Node.js 24 and `vp` (see
29[Install vp](https://github.com/pingdotgg/t3code#install-vp)):
30​
31```bash
32git clone https://github.com/pingdotgg/t3code
33cd t3code && vp i && vp run build:desktop
34node apps/server/dist/bin.mjs
35```
36​
37A server run this way is a plain Node program: `t3 update` and the background
38service do not apply, so update it with `git pull` and a rebuild, and start it
39however you run other Node processes.
40​
41## Desktop app
42​
43Download a release from [GitHub Releases](https://github.com/pingdotgg/t3code/releases),
44or use a package manager:
45​
46| Platform | Install |
47| ------------------ | ------------------------------- |
48| Windows | `winget install T3Tools.T3Code` |
49| macOS | `brew install --cask t3-code` |
50| Arch Linux | `yay -S t3code-bin` |
51| Arch Linux nightly | `yay -S t3code-nightly-bin` |
52​
53### Windows Subsystem for Linux
54​
55Choose a WSL distro in **Settings → Connections** to run agents and projects
56there. Install Node.js and provider CLIs inside that distro. T3 Code installs its
57matching server runtime there automatically; the first launch after an app
58update can take longer.
59​
60### Open a project from a terminal
61​
62With the desktop app already running on the same machine:
63​
64```bash
65npx t3 app
66```
67​
68This opens a new thread for the current directory, adding the project if needed.
69Pass a path, such as `npx t3 app ../my-project`, to open another directory. It requires
70the desktop app, so a standalone server or an SSH session is not enough. If the
71command cannot reach the app, start or update the desktop app and try again.
72​
73## Mobile app
74​
75Install T3 Code from the
76[App Store](https://apps.apple.com/us/app/t3-code-remote-claude-more/id6787819824) or
77[Google Play](https://play.google.com/store/apps/details?id=com.t3tools.t3code).
78The phone connects to a server on another machine. Follow
79[remote access](./remote-access.md) to link it through T3 Connect or a pairing URL.
80​
81If the app crashes during launch, open Settings → Diagnostics on the next launch
82that succeeds. It lists startup crashes from the last 7 days with the error and
83component stack that store crash reports leave out. Copy the report and paste it
84into a GitHub issue. Error messages can quote values from the app, so read it over
85before sharing.
86​
87## Providers
88​
89Open **Settings → Providers** in the web or desktop app, select the environment,
90and enable the provider you want. Installation, login, and configuration belong
91to that environment's machine, even when you connect from a phone or another
92computer.
93​
94| Provider | Install and authenticate |
95| ----------- | -------------------------------------------------------------------------------------------- |
96| Codex | Install [Codex CLI](https://developers.openai.com/codex/cli), then run `codex login`. |
97| Claude | Install [Claude Code](https://claude.com/product/claude-code), then run `claude auth login`. |
98| Cursor | Install [Cursor CLI](https://cursor.com/cli), then run `agent login`. |
99| Grok Build | Install [Grok Build CLI](https://x.ai/cli), then run `grok login`. |
100| OpenCode | Install [OpenCode](https://opencode.ai), then run `opencode auth login`. |
101| Antigravity | Install and sign in with Google from T3 Code's provider settings. |
102​
103Provider CLIs must be on the server's `PATH`. If T3 Code cannot find one, set its
104**Binary path** in provider settings, especially when using a version manager.
105Cursor's executable is `cursor-agent`, although its login command is
106`agent login`. Antigravity can use its managed runtime without a `PATH` entry.
107​
108When a provider CLI is behind its latest release, its provider card shows the
109available version. **Update now** appears only when T3 Code can tell which
110installer owns the CLI (its own update command, Homebrew, or a global npm, pnpm,
111bun, or Vite+ install) and runs that installer. Otherwise update the CLI the same
112way you installed it. Homebrew installs compare against the version Homebrew
113offers, which can trail the npm release by a few hours.
114​
115Add another provider instance for a separate account or configuration. Each
116instance can have its own environment variables, such as API keys or a custom
117base URL. Mark secret values as sensitive; after saving, T3 Code does not display
118their original values.
119​
120For provider-specific setup and accounts, see [Codex](./providers-codex.md),
121[Claude](./providers-claude.md), [OpenCode](./providers-opencode.md), and
122[Antigravity](./providers-antigravity.md).
123​
124## Next steps
125​
126- [Working with threads](./thread-sidebar.md): start tasks and organize parallel work.
127- [Permission modes](./permission-modes.md): choose when agents ask before acting.
128- [Remote access](./remote-access.md): connect from another device.
129- [Running in the background](./background-service.md): keep a Linux or macOS host available.
130- [Updating T3 Code](./updating.md): update the app and connected servers.