DESCRIPTION
  Run T3 Code in this terminal and open it in your browser. To use it from your other devices, run `t3 up`.

USAGE
  t3 <subcommand> [flags] [<cwd>]

ARGUMENTS
  cwd string    Working directory for provider sessions (defaults to the current directory). (optional)

FLAGS
  --mode choice                              Runtime mode. `desktop` keeps loopback defaults unless overridden. (choices: web, desktop)
  --port integer                             Port for the HTTP/WebSocket server.
  --host string                              Host/interface to bind (for example 127.0.0.1, 0.0.0.0, or a Tailnet IP).
  --base-dir string                          Explicit T3 Code data directory; runtime state is stored under userdata (equivalent to T3CODE_HOME).
  --dev-url string                           Dev web URL to proxy/redirect to (equivalent to VITE_DEV_SERVER_URL).
  --no-browser                               Disable automatic browser opening.
  --bootstrap-fd integer                     Read one-time bootstrap secrets from the given file descriptor.
  --auto-bootstrap-project-from-cwd          Create a project for the current working directory on startup when missing.
  --log-websocket-events, --log-ws-events    Emit server-side logs for outbound WebSocket push traffic (equivalent to T3CODE_LOG_WS_EVENTS).
  --tailscale-serve                          Configure Tailscale Serve to expose this backend over HTTPS on the Tailnet.
  --tailscale-serve-port integer             HTTPS port for Tailscale Serve when --tailscale-serve is enabled.
  --lan                                      Accept connections from your local network and tailnet, not only this machine (equivalent to T3CODE_LAN).

GLOBAL FLAGS
  --help, -h                                                          Show help information
  --version, -v                                                       Show version information
  --wizard                                                            Start wizard mode for a command
  --completions <bash|zsh|fish|powershell|sh|pwsh>                    Print shell completion script (choices: bash, zsh, fish, powershell, sh, pwsh)
  --log-level <all|trace|debug|info|warn|warning|error|fatal|none>    Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)

SUBCOMMANDS
  help           Show command help.
  serve          Run T3 Code in this terminal, with no browser.
  app            Open a project in the running T3 Code desktop app.
  pair           Mint a pairing token for a running T3 Code server and print it as a QR code.
  auth           Manage the local auth control plane for headless deployments.
  environment    Link other T3 Code environments, so agents here can work there.
  browser        Manage T3's headless browser on this host.
  project        Manage projects.
  thread         Start, message, and read threads on the running server.
  feedback       Send feedback about T3 Code to the T3 team. Needs Agent feedback set to Automatic in Settings > Labs; to approve a report first, ask your agent in a thread.
  workflow       Start, inspect and steer durable workflow runs on the running server.
  up             Set up remote access and the T3 Code background service.
  status         Show service setup and remote access settings.
  service        Manage the T3 Code background service.
  update         Download a newer t3 and switch this machine to it, including the background service when one is installed.
  install        Install this version as the `t3` command.
  uninstall      Remove t3 from this machine: the background service, the launcher, and every downloaded version. Your projects and threads are kept.
  theme          Inspect and set environment-wide theme defaults.
  trace          Inspect the local server trace file.
  doctor         Inspect this T3 Code data directory and repair it. Pauses and restarts the background service as needed.
  policy         Inspect the administrator's managed policy.
  triage         Investigate a T3 Code problem on this machine with Claude Code, Codex, or Antigravity, and help file a good issue.
  connect        Set up T3 Connect for this machine. Same as `t3 up --connect`.

ERROR
  Invalid value for flag --port: "0". Expected: Schema validation failed: Expected a value between 1 and 65535

[driver] Process exited.

[driver] Exit status: 1; signal: None
