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

install.md

106 lines4.9 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​
8Command-line use, SSH hosts, and WSL backends need Node.js 22.16+ (22.x), 23.11+
9(23.x), or 24.10 and later. The native desktop app includes its server runtime.
10​
11You need an installed, authenticated provider before starting a thread. You can
12launch T3 Code and configure providers afterwards.
13​
14## Run without installing
15​
16```bash
17npx t3@latest
18```
19​
20This starts the server and opens the local web app. Run
21`npx t3@latest --help` for command-line options.
22​
23## Desktop app
24​
25Download a release from [GitHub Releases](https://github.com/pingdotgg/t3code/releases),
26or use a package manager:
27​
28| Platform | Install |
29| ------------------ | ------------------------------- |
30| Windows | `winget install T3Tools.T3Code` |
31| macOS | `brew install --cask t3-code` |
32| Arch Linux | `yay -S t3code-bin` |
33| Arch Linux nightly | `yay -S t3code-nightly-bin` |
34​
35### Windows Subsystem for Linux
36​
37Choose a WSL distro in **Settings → Connections** to run agents and projects
38there. Install Node.js and provider CLIs inside that distro. T3 Code installs its
39matching server runtime there automatically; the first launch after an app
40update can take longer.
41​
42### Open a project from a terminal
43​
44With the desktop app already running on the same machine:
45​
46```bash
47npx t3 app
48```
49​
50This opens a new thread for the current directory, adding the project if needed.
51Pass a path, such as `npx t3 app ../my-project`, to open another directory. It requires
52the desktop app, so a standalone server or an SSH session is not enough. If the
53command cannot reach the app, start or update the desktop app and try again.
54​
55## Mobile app
56​
57Install T3 Code from the
58[App Store](https://apps.apple.com/us/app/t3-code-remote-claude-more/id6787819824) or
59[Google Play](https://play.google.com/store/apps/details?id=com.t3tools.t3code).
60The phone connects to a server on another machine. Follow
61[remote access](./remote-access.md) to link it through T3 Connect or a pairing URL.
62​
63## Providers
64​
65Open **Settings → Providers** in the web or desktop app, select the environment,
66and enable the provider you want. Installation, login, and configuration belong
67to that environment's machine, even when you connect from a phone or another
68computer.
69​
70| Provider | Install and authenticate |
71| ----------- | -------------------------------------------------------------------------------------------- |
72| Codex | Install [Codex CLI](https://developers.openai.com/codex/cli), then run `codex login`. |
73| Claude | Install [Claude Code](https://claude.com/product/claude-code), then run `claude auth login`. |
74| Cursor | Install [Cursor CLI](https://cursor.com/cli), then run `agent login`. |
75| Grok Build | Install [Grok Build CLI](https://x.ai/cli), then run `grok login`. |
76| OpenCode | Install [OpenCode](https://opencode.ai), then run `opencode auth login`. |
77| Antigravity | Install and sign in with Google from T3 Code's provider settings. |
78​
79Provider CLIs must be on the server's `PATH`. If T3 Code cannot find one, set its
80**Binary path** in provider settings, especially when using a version manager.
81Cursor's executable is `cursor-agent`, although its login command is
82`agent login`. Antigravity can use its managed runtime without a `PATH` entry.
83​
84When a provider CLI is behind its latest release, its provider card shows the
85available version. **Update now** appears only when T3 Code can tell which
86installer owns the CLI (its own update command, Homebrew, or a global npm, pnpm,
87bun, or Vite+ install) and runs that installer. Otherwise update the CLI the same
88way you installed it. Homebrew installs compare against the version Homebrew
89offers, which can trail the npm release by a few hours.
90​
91Add another provider instance for a separate account or configuration. Each
92instance can have its own environment variables, such as API keys or a custom
93base URL. Mark secret values as sensitive; after saving, T3 Code does not display
94their original values.
95​
96For provider-specific setup and accounts, see [Codex](./providers-codex.md),
97[Claude](./providers-claude.md), [OpenCode](./providers-opencode.md), and
98[Antigravity](./providers-antigravity.md).
99​
100## Next steps
101​
102- [Working with threads](./thread-sidebar.md): start tasks and organize parallel work.
103- [Permission modes](./permission-modes.md): choose when agents ask before acting.
104- [Remote access](./remote-access.md): connect from another device.
105- [Running in the background](./background-service.md): keep a Linux or macOS host available.
106- [Updating T3 Code](./updating.md): update the app and connected servers.