Skip to content

Latest commit

 

History

History
129 lines (94 loc) · 9.18 KB

install.md

File metadata and controls

129 lines (94 loc) · 9.18 KB

Install T3 Code

T3 Code runs coding agents on your computer (or server) and lets you control them from the desktop app, web app, or mobile app. Install T3 Code on the machine where your agents will run first.

Requirements

You need at least one installed, authenticated coding agent (provider) before starting a thread. You can launch T3 Code first and set up providers from the Welcome page or Settings → Providers.

Command line

Install the t3 command to ~/.local/bin:

# macOS / Linux
curl -fsSL https://t3.codes/install.sh | sh
# Windows (PowerShell)
irm https://t3.codes/install.ps1 | iex

Set T3CODE_CHANNEL=nightly for nightly builds or T3CODE_VERSION=<ver> to pin a version. To try once without installing, run npx t3@latest (requires Node.js; always runs the latest stable release).

Task Command
Start server and open web app t3 (or t3 ./my-project)
Start server without browser t3 serve
Set up remote access t3 up (Remote access)
Run in the background t3 service install (Background service)
Update t3 update
Reclaim database space t3 doctor (Details)
Uninstall t3 uninstall

If t3 reports a server is already running, connect with t3 pair or pass a separate --base-dir. Run t3 --help for all commands.

Intel Macs

There is no standalone t3 binary for Intel Macs—use the desktop app, or build a server from source with vp (development runbook):

git clone https://github.com/pingdotgg/t3code
cd t3code && vp i && vp run build:desktop
node apps/server/dist/bin.mjs

Desktop app

Download from GitHub Releases or install via a package manager:

Platform Command
macOS brew install --cask t3-code
Windows winget install T3Tools.T3Code or scoop install extras/t3code
Debian / Ubuntu sudo apt install ./T3-Code-*.deb
Arch Linux yay -S t3code-bin (or yay -S t3code-nightly-bin)
Nix (flakes, Nix 2.30+) nix profile add github:NixOS/nixpkgs/nixos-unstable#t3code
  • Linux AppImage: chmod +x ./T3-Code-*.AppImage && ./T3-Code-*.AppImage (x86_64 and ARM64). .deb self-updates with a password prompt; update AUR packages via your AUR helper (yay -Syu).
  • NixOS / Home Manager: Add pkgs.t3code to environment.systemPackages or home.packages (t3code-desktop launches the app; t3 is included). Update via Nix rather than the in-app updater.

The t3 command

The desktop app bundles t3 and sets it up on first launch (manage anytime under Settings → About → t3 command). Use Add to PATH if needed, then open a new terminal.

  • Open a folder in the running desktop app: Run t3 app (or t3 app ../my-project) from a terminal, or drag folders from your file manager onto the desktop sidebar.

Windows Subsystem for Linux

Select a WSL distro in Settings → Sharing & access to run agents and projects inside WSL (install provider CLIs inside that distro). T3 Code manages its own server runtime inside WSL automatically.

Mobile app

Install from the App Store or Google Play (QR codes are also in Settings → About → Mobile app). The mobile app connects to a server on another machine via remote access.

  • Store builds work with both Stable and Nightly servers. Optional Android beta APKs are under Android beta releases.
  • If the mobile app crashes on launch, open Settings → Diagnostics on the next launch to copy recent startup crash reports.

Providers

Open Settings → Providers (web or desktop), select the environment, and enable the providers you use. Installation and sign-in always happen on the environment's machine.

Provider Install and authenticate Guide
Codex Connect with ChatGPT in Settings, or install Codex CLI and run codex login. Codex
Claude Install Claude Code and run claude auth login. Claude
Cursor Sign in in Settings or install Cursor CLI and run agent login. Cursor
Grok Build Install Grok Build CLI and run grok login. Grok
Antigravity Install managed runtime and sign in with Google in Settings. Antigravity
OpenCode Install OpenCode and run opencode auth login. OpenCode
Kiro Install Kiro CLI and run kiro-cli login. Kiro
Pi Install Pi (Node.js 22.19+) and run pi → /login. Pi
Muse Code Install Muse Code and run muse login. Muse Code
fx Install fx and run fx login. fx
ACP Registry Add GitHub Copilot and other agents in Settings → Providers → Add provider → Show more. ACP
  • Binary path: If a CLI isn't on the server's PATH (common with version managers), set Binary path in the provider's settings.
  • Updates: Click Update now on outdated provider cards (supports Homebrew, mise latest, npm/pnpm/Yarn/Bun/Volta/Vite+, or the CLI's own updater; update Nix, Chocolatey, or pinned mise installs manually).
  • Multiple instances: Add extra provider instances for separate accounts, API keys, or custom endpoints (mark secret env vars as sensitive).

Provider check timeouts

If a working CLI times out during T3 Code's readiness check, increase its probe deadline (in milliseconds) in the server's environment (or systemd override / service.env) and restart:

T3CODE_CODEX_PROBE_TIMEOUT_MS=60000 T3CODE_CLAUDE_PROBE_TIMEOUT_MS=60000 t3 serve
Provider Environment variable
Codex T3CODE_CODEX_PROBE_TIMEOUT_MS
Claude T3CODE_CLAUDE_PROBE_TIMEOUT_MS
Cursor T3CODE_CURSOR_PROBE_TIMEOUT_MS
Antigravity T3CODE_ANTIGRAVITY_PROBE_TIMEOUT_MS
Grok T3CODE_GROK_PROBE_TIMEOUT_MS
Kiro T3CODE_KIRO_PROBE_TIMEOUT_MS
fx T3CODE_FX_PROBE_TIMEOUT_MS
Pi T3CODE_PI_PROBE_TIMEOUT_MS
Muse Code T3CODE_MUSE_PROBE_TIMEOUT_MS
OpenCode T3CODE_OPENCODE_PROBE_TIMEOUT_MS
ACP Registry T3CODE_ACP_REGISTRY_PROBE_TIMEOUT_MS

Next steps