Getting Started

T3 Code Installation Guide

Install via npx, shell/PowerShell scripts, Homebrew, Winget, Scoop, AUR, Nix, or GitHub Releases.

T3 Code is distributed in three forms: a temporary npx trial, the t3 CLI + background server, and native Electron desktop apps, paired with iOS and Android companion apps.

Picking the right path upfront avoids ending up with duplicate installs from different package managers.


Which Install Path Should You Pick?

Use CaseRecommended InstallWhy
Quick 5-minute evaluationnpx t3@latestZero global install; stops when you exit (requires Node.js)
macOS workstationbrew install --cask t3-codeNative Electron app with bundled server runner
Windows workstationwinget install T3Tools.T3Code or scoopNative desktop app managed via system package manager
Linux desktop.deb / AppImage / AUR / NixFits native distro packaging
Headless Linux / browser-first / t3 service daemoninstall.sh or install.ps1Gives you t3, t3 serve, t3 service install, and t3 doctor

1. Zero-Install Trial (npx)

If Node.js is already installed on your machine:

bash
npx t3@latest

This pulls the latest package, boots the local server on port 3773, and opens the Web UI in your browser. Press Ctrl+C when done.


2. Install the t3 CLI & Server

Recommended for Linux servers, SSH workflows, or anyone who prefers running the UI in a browser and keeping a background daemon alive.

macOS / Linux / WSL

bash
curl -fsSL https://t3.codes/install.sh | sh

Windows (PowerShell)

powershell
irm https://t3.codes/install.ps1 | iex

Verify the binary works:

bash
t3 --help

Two common ways to run it:

  • t3: Starts the server and automatically launches the Web UI in your browser.
  • t3 serve --port 3773 --no-browser: Headless server mode without opening a browser tab—ideal over SSH.

Note: On macOS and Linux, run t3 service install afterward to register a persistent background service (launchd / systemd). Note that Windows does not directly support t3 service native OS daemon commands.


3. Install the Electron Desktop App

The desktop app wraps the React UI and manages the local server runner automatically.

macOS

Install via Homebrew Cask:

bash
brew install --cask t3-code

Or download .dmg builds directly from pingdotgg/t3code Releases.

Windows

Install via Winget or Scoop:

powershell
# Winget
winget install T3Tools.T3Code

# Scoop
scoop install extras/t3code

Standalone installers are also published on GitHub Releases.

Linux (Arch, Nix, Debian/Ubuntu & AppImage)

  • Arch Linux (AUR):
    bash
    # Stable binary
    yay -S t3code-bin
    
    # Nightly builds
    yay -S t3code-nightly-bin
  • NixOS / Nix:
    bash
    nix profile add github:NixOS/nixpkgs/nixos-unstable#t3code
  • Debian / Ubuntu & general Linux: Download .deb or .AppImage builds (x86_64 and ARM64) from pingdotgg/t3code Releases.

4. Mobile Companion Apps (iOS & Android)

The mobile client (apps/mobile, built with Expo / React Native) works as a remote controller:

  • Production releases: Download directly from the Apple App Store (iPhone & iPad) and Google Play (Android).
  • iOS betas: Periodically shared through TestFlight.

Remember: your phone does not run Claude Code, Codex, or Git locally—it connects back to the T3 Code server running on your workstation or dev server over LAN, Tailscale, or T3 Connect.


5. Updating, Maintenance & Uninstalling

  • Upgrade CLI install:
    bash
    t3 update
  • Upgrade Homebrew Desktop app:
    bash
    brew upgrade --cask t3-code
  • Inspect and clean up SQLite/store state:
    bash
    t3 doctor
    # Run recommended cleanup repairs (stop the server first)
    t3 doctor --fix
  • Complete CLI uninstall:
    bash
    t3 uninstall

Post-Install Checklist

  1. Confirm T3 Code initializes its data directory (~/.t3/ by default).
  2. Confirm at least one coding CLI (claude auth login, codex login, etc.) is signed in on the same host.
  3. If pairing a phone, disable sleep on the host machine and configure remote access via t3 up or Settings → Sharing & access.