Open History to see the last commit
1# Running T3 Code in the Background
2
3On a Linux host, T3 Code can run as a background service for your user. It starts when the machine
4boots and keeps running after you log out.
5
6## Manage the Service
7
8Install it with the latest T3 Code release:
9
10```sh
11npx t3@latest service install
12```
13
14Check whether it is installed:
15
16```sh
17npx t3@latest service status
18```
19
20Update or repair it:
21
22```sh
23npx t3@latest service update
24```
25
26Stop it and remove it from startup:
27
28```sh
29npx t3@latest service uninstall
30```
31
32Updating restarts T3 Code briefly. Let active agent work and terminal commands finish first.
33
34## Using It with T3 Connect
35
36T3 Connect may offer to install the service during setup so the host stays reachable after you log
37out. This is only an onboarding shortcut: the service and T3 Connect are managed separately.
38
39Signing out of T3 Connect does not remove the service. Use `t3 service uninstall` when you no longer
40want T3 Code to start in the background.
41
42The background service currently requires Linux with systemd.