AI

Install T3 Code on Linux: Run Claude Code and Codex in a GUI

T3 Code is a desktop and browser front end for the coding agents you already run, so it does not replace Claude Code, Codex or OpenCode. It drives them. You get threads, a diff panel, approvals and a project sidebar on top of whichever agent CLI is signed in. Installing T3 Code on Linux takes about five minutes, so most of this guide is about the choices around it: which package to pick, which permission mode it starts in, and what it sends home.

Original content from computingforgeeks.com - post 201599

We installed the stable T3 Code 0.1.13 release on Ubuntu 26.04 and 24.04 in December 2026. We then connected OpenCode on a free model, ran a real bug fix through it end to end and recorded every TLS connection the app opened. The task finished in one thread, new threads start with full access, and the telemetry opt-out did stop both telemetry hosts in our capture.

What T3 Code is

T3 Code is built by T3 Tools and lives at pingdotgg/t3code under the MIT licence. It has two pieces: an Electron desktop app (t3code) and a server CLI (t3) that serves the same interface to a browser on port 3773. Neither one ships a model. Every prompt goes to an agent CLI on the server machine, and that agent needs its own login.

So the “T3 Code vs Claude Code” question has a short answer. Claude Code is one of the agents T3 Code drives, next to these:

  • Codex (ChatGPT sign-in)
  • Claude Code (claude auth login)
  • OpenCode, including its free hosted models
  • Cursor, Grok, Antigravity, Kiro, Pi, Muse Code and ACP registry agents

If you’re still choosing the agent itself, our OpenCode vs Claude Code vs Cursor comparison is the better starting point. Pick the agent first, then decide whether you want T3 Code’s GUI over it or the agent’s own terminal UI.

Prerequisites

Our lab was two clean cloud VMs with a desktop session supplied by Xvfb, so a normal workstation is more than enough. You need:

  • Ubuntu 26.04 or 24.04 (Debian derivatives take the same .deb)
  • x86_64 or arm64, about 1 GB free disk
  • A user with sudo rights for the .deb route
  • One agent CLI, or Node.js and npm to install OpenCode

Once installed, the .deb takes about 660 MB and the CLI runtime in ~/.t3 came to 492 MB, so the disk figure isn’t padding. The steps also lean on ss, grep and a few file commands, so brush up on those first if they are rusty.

Install the T3 Code .deb package

Installing the .deb gives you the desktop app, a menu entry and /usr/bin/t3code. Fetch the newest stable tag from the GitHub API rather than hardcoding one, so the same commands keep working after the next release lands.

VER=$(curl -s https://api.github.com/repos/pingdotgg/t3code/releases/latest | grep -Po '"tag_name": "v\K[^"]+')
echo $VER

GitHub’s “latest” release skips prereleases, so this always resolves to stable and never to a nightly. On our VM it returned the current stable tag.

0.1.13

Download the package and install it with apt, which pulls in GTK, NSS, libsecret and the rest of the Electron runtime on a server image that lacks them. Use arm64 in the file name on ARM machines.

wget https://github.com/pingdotgg/t3code/releases/download/v${VER}/T3-Code-${VER}-amd64.deb
sudo apt install -y ./T3-Code-${VER}-amd64.deb

The file is about 199 MB. Running sha256sum -c --ignore-missing SHA256SUMS against the release’s checksum file returned “no file was verified” for us, because that file only lists the t3 CLI archives. The desktop packages are covered by the updater manifest, latest-linux.yml (latest-linux-arm64.yml on ARM), which carries a base64 SHA-512 for each file. Print it, then hash your download the same way.

curl -sL https://github.com/pingdotgg/t3code/releases/download/v${VER}/latest-linux.yml | grep -A1 "T3-Code-${VER}-amd64.deb"
sha512sum T3-Code-${VER}-amd64.deb | cut -d" " -f1 | xxd -r -p | base64 -w0; echo

Both lines should print the same string. Ours matched:

  - url: T3-Code-0.1.13-amd64.deb
    sha512: IDq2s/x4moZrDo89368rEHADg+Q8Mf9blDc56m+5vbFB05B760o+IgTellu255ta1RDuolVYxOmY1gdtVYp5Ow==
IDq2s/x4moZrDo89368rEHADg+Q8Mf9blDc56m+5vbFB05B760o+IgTellu255ta1RDuolVYxOmY1gdtVYp5Ow==

Once apt has finished, confirm the package and the binary version.

dpkg -l t3code | tail -1
t3code --version

Files land under /opt/T3 Code (Beta)/. The package does not ship the t3 CLI. It only exists after the desktop app has started once, because the app writes it to ~/.t3/bin/t3 and links it from ~/.local/bin/t3, so t3 status fails with “command not found” until then.

If you do not want usage telemetry to leave the machine, set the opt-out from the telemetry section below before this first launch, because the default first start already contacts the telemetry hosts. Then launch T3 Code from the app menu or run t3code. The first start shows an Add to PATH button, which adds one line to ~/.bashrc so the t3 command resolves in new terminals.

T3 Code desktop app first launch on Linux with the Add to PATH button marked

Click it if you plan to use t3 serve or t3 update later, because both live in the CLI and not in the app window. In a new terminal, t3 status then reports the access state, shown here under the dpkg check.

dpkg shows the t3code 0.1.13 deb installed on Ubuntu 26.04 with t3 status output

“Service not installed”, “T3 Connect off” and “Local network off” is the state you want on a workstation. Nothing listens beyond loopback until you ask for it, so a fresh install does not expose your agents to the network. On a desktop-only install you can skip the PATH step entirely and nothing breaks.

Install with install.sh instead

On a headless box you do not want 200 MB of GTK. The install script fetches only the t3 CLI archive, checks its SHA256 and unpacks it into ~/.t3/runtime/versions/, with no sudo and no Node needed. We downloaded it to a file first, because piping a script you have not read straight into sh is a habit worth breaking.

curl -fsSL https://t3.codes/install.sh -o install.sh
less install.sh
sh install.sh

On Ubuntu 24.04 it finished in seconds and told us ~/.local/bin was not on PATH yet.

T3 Code install.sh output on Ubuntu 24.04 installing t3 0.1.13 with the PATH hint

Run the line it prints, open a new terminal, and t3 --version answers. The script reads a handful of environment variables, and the first two are how you pick stable or nightly.

VariableDefaultWhat it does
T3CODE_CHANNELstableRelease train: stable, nightly or preview (preview is the maintainers’ test train)
T3CODE_VERSIONunsetExact version to install, overrides the channel
T3CODE_HOME~/.t3Runtime, user data and service env file
T3CODE_INSTALL_BIN_DIR~/.local/binWhere the t3 launcher goes
T3CODE_RELEASE_BASE_URLGitHub releasesMirror for air-gapped or proxied networks

Stable and nightly differ in more than a label. Stable tags are full GitHub releases; nightlies are flagged as prereleases, ship almost daily and carry fixes before stable gets them. They also carry regressions before anyone has reported them, so treat nightly as a test channel. For the nightly CLI, set the channel on the install command.

T3CODE_CHANNEL=nightly sh install.sh

Everything in this guide was run on stable. We’d keep it there unless a fix you need has only landed on nightly.

Run the AppImage or the AUR package

The AppImage suits distros without apt and machines where you cannot install packages. It is 256 MB and the same build as the .deb. On ARM, the file is T3-Code-arm64.AppImage; neither AppImage name carries a version.

wget https://github.com/pingdotgg/t3code/releases/download/v${VER}/T3-Code-x86_64.AppImage
chmod +x T3-Code-x86_64.AppImage
./T3-Code-x86_64.AppImage --version

On Ubuntu 26.04 it printed the version string before and after we added libfuse2t64, so FUSE 2 was not required there. If your distro does complain about FUSE, --appimage-extract-and-run runs it without mounting, and that worked for us too. On Arch, the AUR has t3code-bin for stable and t3code-nightly-bin for nightly (yay -S t3code-bin). There is no .rpm, so Fedora and RHEL users take the AppImage or install.sh.

Connect an agent

T3 Code does nothing until an agent CLI is on the PATH of the machine running the server. We used OpenCode because its free hosted models need no account, which makes it the fastest way to prove the whole loop works. Install Node and npm from Ubuntu’s repositories, then OpenCode.

sudo apt install -y nodejs npm
sudo npm install -g opencode-ai
opencode --version

List the models and look for the -free suffix. Big Pickle is one of those free models and is what T3 Code picked by default.

opencode models | grep -E 'free|pickle'

Part of what came back on our VM. The free list changes often, so pick from your own output rather than this one.

opencode/beam-free
opencode/big-pickle
opencode/deepseek-v4.1-flash-free
opencode/glm-5.3-flash-free
opencode/nemotron-3.5-super-vl-free

A one-line opencode run -m opencode/big-pickle "say hi" answered “Hi!”, which proves the agent works before T3 Code is involved. For the paid agents, sign in with claude auth login or codex login on the same machine first; our OpenCode install guide for Linux covers provider keys if you would rather bring your own. T3 Code logged “Claude Agent CLI health check failed” on our VM simply because Claude Code was not installed, so it is safe to ignore.

Run a first task with OpenCode

We gave it a small Python project with one planted bug: pending() in app.py returned the finished todos instead of the open ones. We drove these screenshots in a browser through t3 serve and an SSH tunnel (covered in the next section); the desktop app shows the same screens. After pairing, the splash screen stayed up for somewhere between 10 and 25 seconds in our run, and then the welcome page listed every agent T3 Code knows about. Click Turn on OpenCode.

T3 Code welcome screen with the Turn on button for the OpenCode agent marked

Its status goes from “Checking…” to “Ready” once T3 Code finds the opencode binary. Then click Start, choose Add project, pick Local folder and enter the project path.

Look at the composer before you type anything. The new thread came up with the Model picker (Big Pickle) already set and Permissions: Full access as the default. That means the agent may edit files and run any shell command without asking, which is a risky default on a repo with credentials or deploy scripts in it.

T3 Code new thread with OpenCode Big Pickle model and Full access permissions default marked
  1. 1Model picker (Big Pickle)
  2. 2Permissions: Full access

Four modes are on offer: Supervised, Auto-accept edits, Auto and Full access. We switched to Auto-accept edits, so file changes went through but every shell command needed a click, and that is what we recommend on any repo you care about. The prompt was plain: fix pending(), then run python3 app.py to confirm only open items print.

OpenCode asked twice, once to list the project directory and once to run the script. Each request shows the exact command with an Approve button.

T3 Code asking to approve a command OpenCode wants to run, with the Approve button marked

Read the command before approving it, because this prompt is the only point where you see what the agent is about to run. Under Full access you would never have seen it at all.

The thread finished after “Worked for 2m 59s” on the free model, renamed itself “Fix pending() to return open todos” and showed Changes (+1 -1) in the header.

Finished T3 Code thread that worked for 2m 59s with the Changes +1 -1 button marked

Clicking it opens the diff panel, which has Commit and Publish repository buttons next to the change, so small fixes never need a terminal.

T3 Code diff panel showing the one line fix to pending() in app.py

We still checked the result from a shell, because a GUI that says “done” is not proof. git diff showed the one-line change.

 def pending():
-    return [t for t in todos if t["done"]]
+    return [t for t in todos if not t["done"]]

Running the script printed only the open item, [{'id': 1, 'title': 'ship it', 'done': False}], so the fix was right and nothing else in the file moved.

Run t3 serve headless

For daily work, this is the setup we prefer, with agents and code on a build server, the UI in a laptop browser. Start the server from the project directory and keep it on loopback, since the SSH tunnel below is all the exposure it needs.

cd ~/projects/todo-api
t3 serve --host 127.0.0.1 --no-browser

Output includes a connection string, a one-time token and a pairing URL. We masked the token here because the pairing URL works like a password until it is used.

t3 serve running headless on 127.0.0.1:3773 with a masked pairing URL and ss output

The ss line confirms it listens on 127.0.0.1:3773 only, so nothing on the network can reach it. From your laptop, forward the port over SSH and open the pairing URL locally.

ssh -N -L 3773:127.0.0.1:3773 [email protected]

We drove every screenshot above exactly this way. When the printed pairing URL has been used or has lapsed, mint another on the server with t3 pair --ttl 15m --label laptop (tokens from t3 pair last five minutes unless you set --ttl), and paired browser sessions that sit idle for 30 days have to pair again.

For access without SSH, Tailscale is the cleaner route because the tailnet already handles identity and encryption. t3 serve --tailscale-serve publishes the UI over HTTPS on your tailnet and t3 pair --tailscale prints a tailnet pairing URL. Our Tailscale setup on Ubuntu 26.04 gets the node on the tailnet first, and a self-hosted Headscale server works if you’d rather not use Tailscale’s coordination service. Avoid t3 up --lan on shared networks, since its own help text says “Anyone there can reach the port; a pairing code is the only lock”.

To keep the server running after logout, t3 service install sets up a systemd user unit (t3code.service). It needs lingering enabled for your user (sudo loginctl enable-linger "$(id -un)"), and environment for the service lives in ~/.t3/service.env.

Check what T3 Code sends on first launch

Telemetry is where T3 Code earned its reputation, so we measured it instead of quoting anyone. We started the desktop app twice on a fresh home directory with no agent connected, running tcpdump for two minutes each time and reading TLS server names with tshark. The first run used default settings and the second set DO_NOT_TRACK=1. You need the tcpdump, tshark and xvfb packages from the Ubuntu archive, and on a workstation run sudo -v first so the backgrounded sudo lines don’t stop at a password prompt. This is the script we ran for the default launch on the headless VM, which is why it starts an Xvfb display; on a desktop you can drop that line and the DISPLAY prefix.

sudo nohup tcpdump -i any -nn -w /tmp/first-launch.pcap 'not port 22' >/tmp/tcpdump.log 2>&1 &
sudo bash -c 'while true; do date +%T; ss -tnp; sleep 3; done > /tmp/ss-first.log 2>&1' &
sleep 1
nohup Xvfb :99 -screen 0 2880x1800x24 >/tmp/xvfb.log 2>&1 &
sleep 2
cd ~
DISPLAY=:99 nohup t3code --force-device-scale-factor=2 > /tmp/t3-first.log 2>&1 &
sleep 120
sudo pkill tcpdump; sleep 1; sudo pkill -f "while true; do date"

The ss -tnp loop runs as root so every socket carries its process name, which is how the connections below are tied to t3code and not to the VM’s own agents. The script leaves the app running, so close it with pkill -x t3code before the opt-out run, as we did; otherwise the first instance keeps sending telemetry into the second capture. The opt-out run used a separate empty home directory (ours was /home/josphat/dnt-home) and its own pcap, and left out the cloud metadata address:

mkdir -p "$HOME/dnt-home"
sudo nohup tcpdump -i any -nn -w /tmp/dnt.pcap 'not port 22 and not host 169.254.169.254' >/tmp/tcpdump-dnt.log 2>&1 &
sleep 2
cd "$HOME/dnt-home"
HOME="$HOME/dnt-home" DO_NOT_TRACK=1 DISPLAY=:99 nohup t3code --force-device-scale-factor=2 > /tmp/t3-dnt.log 2>&1 &
sleep 120
pkill -x t3code; sleep 2
sudo pkill -x tcpdump

We stopped that process at the end of the two-minute window, and the shell then reported Trace/breakpoint trap (core dumped) for it. The trap came from that kill, after the capture was over, not from a crash while traffic was being recorded. Ubuntu’s AppArmor profile for tshark refused to open a pcap in /tmp, so each capture was fed to it on stdin and summarised like this:

cat /tmp/first-launch.pcap | tshark -r - -Y "tls.handshake.type==1" -T fields -e tls.handshake.extensions_server_name | sort | uniq -c | sort -rn
cat /tmp/first-launch.pcap | tshark -r - -Y "dns.flags.response==0" -T fields -e dns.qry.name | sort | uniq -c | sort -rn
cat /tmp/first-launch.pcap | tshark -r - -q -z conv,ip
grep -E "^ESTAB|^SYN" /tmp/ss-first.log | grep -vE ":22 " | awk '{print $5, $6}' | sed -E 's/users:\(\("([^"]*)".*/\1/' | sort | uniq -c

The output from both runs on the VM tells the story. The default launch opened TLS sessions to ingest.t3.codes and Axiom; the opt-out launch never named either host. For the opt-out pcap we filtered on the SNI field itself, which lists the same handshakes. In the ss samples every connection to the hosts in the table belonged to t3code; the remaining lines are the cloud VM’s own guest agents.

tshark TLS SNI counts for T3 Code first launch with default settings and with DO_NOT_TRACK=1, plus ss -tnp connection samples

The table puts both runs side by side and adds the byte counts from tshark -q -z conv,ip, matched to hosts through the DNS answers in the same capture.

Host (TLS SNI)DefaultDO_NOT_TRACK=1What it is
ingest.t3.codesyes, 9 kBnoT3 Code product telemetry
us-east-1.aws.edge.axiom.coyes, 28 kBnoRelay traces sent to Axiom
clerk.t3.codesyes, 303 kByes, 304 kBSign-in service behind T3 Connect
github.com, release-assets, raw.githubusercontent.comyesyesUpdate check against GitHub releases
api.meta.aiyes, 9 kByes, 9 kBMuse Code agent channel check
redirector.gvt1.com and a gvt1.com mirroryes, 509 kByes, 506 kBGoogle download CDN, consistent with Electron’s spellcheck dictionaries

That is the useful result. With the opt-out set, neither ingest.t3.codes nor Axiom appeared at all, while the sign-in, update and channel checks carried on unchanged. Treat it as an observation for this release in our lab, not a promise about future builds, and rerun the capture after every upgrade if it matters to you. The api.meta.ai call surprised us until we found it in the source. T3 Code checks Meta’s Muse Code release channel on startup whether or not you use that agent.

During the OpenCode task itself, which ran about eight minutes with default settings, the hosts looked different because the agent’s own traffic joined in.

  • opencode.ai and models.opencode.ai, about 2 MB (the model traffic)
  • registry.npmjs.org, one 2.9 MB download
  • us-east-1.aws.edge.axiom.co, 7 connections, about 88 kB
  • ingest.t3.codes, 2 connections, about 19 kB

We did not decrypt the payloads, so the contents come from the project’s own description. The project’s telemetry documentation lists what the events contain, namely provider, model, effort, permission mode, outcome, duration, release channel and token counts, keyed to a hashed random install ID, plus random device IDs and a hashed T3 Connect account ID if you sign in. Your prompts and code are not on that list, unless you approve an agent feedback report that attaches conversation text.

Some background on why people check this at all. Telemetry is on by default, as the default launch above shows. PR #42299 removed the hashes of your Codex and Claude account IDs, read from ~/.codex/auth.json and ~/.claude.json, from the telemetry. PR #42629 added DO_NOT_TRACK support. The two PRs merged on 24 and 25 November 2026, and our capture of 0.1.13 shows DO_NOT_TRACK removing ingest.t3.codes and Axiom. Upgrade to the current stable release before relying on the opt-out.

To opt out for good, set both variables in ~/.profile so the desktop session and the menu launcher see them, then sign out and back in.

echo 'export DO_NOT_TRACK=1' >> ~/.profile
echo 'export T3CODE_TELEMETRY_ENABLED=false' >> ~/.profile

For a headless server started from a shell, DO_NOT_TRACK=1 t3 serve works for one run. For the background service, put DO_NOT_TRACK=1 in ~/.t3/service.env and run t3 service restart, because a systemd user unit does not read your profile.

Update, pin or remove T3 Code

The CLI updates itself, and the service with it when one is installed. Switching channel is the same command with a flag.

t3 update
t3 update --channel nightly

To hold a release you have tested, name the version. Going backwards needs --allow-downgrade, and scripts need --yes to restart the service without a prompt.

T3CODE_VERSION=0.1.13 # pin: hold the release we captured #https://github.com/pingdotgg/t3code/releases
t3 update ${T3CODE_VERSION} --allow-downgrade --yes

The .deb is separate from the CLI. The desktop app updates itself and asks for your password to install the new package, and you can do the same by hand with the apt install line from the install step, because apt owns those files and t3 update manages only the CLI runtime in ~/.t3. Removing everything takes three commands.

t3 uninstall --yes
sudo apt remove t3code
rm -rf ~/.t3

t3 uninstall removes the service, the launcher and every downloaded version but keeps your projects and threads in ~/.t3/userdata. Only run the final rm if you want the thread history and the install ID gone too.

Fix the errors we hit

None of these stopped the install, but each one cost us a few minutes the first time.

“This host blocks the sandbox T3’s browser runs in”

Ubuntu restricts unprivileged user namespaces through AppArmor, which blocks the sandbox for T3 Code’s built-in browser tabs and HTML previews. The server logs the fix itself, so you only need to run it once.

sudo env "PATH=$PATH" t3 browser setup --base-dir "$HOME/.t3"

Skip it if you never use the in-app browser, since agents and diffs work without it.

“t3: command not found” after installing the .deb

The package only ships t3code. Start the desktop app once so it writes ~/.local/bin/t3, then click Add to PATH or add export PATH="$PATH:$HOME/.local/bin" to ~/.bashrc and open a new terminal.

tshark can’t read a capture saved in /tmp

Ubuntu’s AppArmor profile for tshark denied reading a pcap from /tmp. Feeding it on stdin with cat t3.pcap | tshark -r - sidesteps the profile, which is how we produced the tables above.

pkill killed the SSH session

Stopping the app with pkill -f "/opt/T3 Code" over SSH matched our own command line and dropped the session. Match the process name instead with pkill -x t3code, but note that a running t3 serve uses the same process name and goes down with it. Stop the background service with t3 service uninstall or systemd rather than pkill.

What we observed and what to set

In our capture of 0.1.13 on one Ubuntu 26.04 VM, the server stayed on loopback (we reached it over an SSH tunnel), a browser got in only with a pairing token, and the telemetry opt-out kept both telemetry hosts off the wire. The agent underneath and the permission mode decide most of the risk, so two settings matter more than any of that. Change new threads from Full access to Auto-accept edits or Supervised, and set DO_NOT_TRACK=1 before first launch if you don’t want usage events leaving the machine. Keep your Claude Code cheat sheet or the OpenCode CLI cheat sheet handy anyway, because T3 Code is only a window onto those tools. Rerun the capture commands above after each upgrade, since our result covers this one release.

Keep reading

Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup AI Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup Open Source LLM Comparison Table (2026) AI Open Source LLM Comparison Table (2026) Ollama Models Cheat Sheet: Best Models by VRAM, Tested (PDF) AI Ollama Models Cheat Sheet: Best Models by VRAM, Tested (PDF) AI NAS Explained: Is Local AI on a NAS Worth It? AI AI NAS Explained: Is Local AI on a NAS Worth It? MedGemma 2 vs Gemma 4 vs MedGemma 1.5: Local Benchmark AI MedGemma 2 vs Gemma 4 vs MedGemma 1.5: Local Benchmark XGBoost on FastAPI vs BentoML with Evidently Data Drift Alerts AI XGBoost on FastAPI vs BentoML with Evidently Data Drift Alerts

Leave a Comment

Press ESC to close