config
Synopsis
Section titled “Synopsis”codeteleport config # show current configcodeteleport config set <key> <value> # update a settingDescription
Section titled “Description”The config command displays your current configuration with a redacted token. Use config set to update individual settings without going through the full setup wizard.
Settable keys
Section titled “Settable keys”| Key | Description | Example |
|---|---|---|
agent | Coding agent ID | claude-code |
deviceName | Name for this machine | work-laptop |
apiUrl | API server URL | https://api.codeteleport.com/v1 |
CodeTeleport supports three AI coding agents — Claude Code (id claude-code, default), Codex (OpenAI, id codex), and Antigravity (Google, id antigravity). Choose interactively with codeteleport setup (lists all supported agents from the registry) or directly with codeteleport config set agent <claude-code|codex|antigravity>. Setting an unrecognized id fails with the exact error Unknown agent: <id>. Supported: claude-code, codex, antigravity.
The agent setting controls only what is bundled and scanned locally (push, local list) and which resume command CodeTeleport suggests. It does not affect pulling: a bundle restores using the agent recorded in the bundle itself, so you can pull a Codex bundle on a machine configured for Claude Code.
The token field is not settable via config. Use codeteleport auth login or codeteleport setup to authenticate.
Examples
Section titled “Examples”View config
Section titled “View config”$ codeteleport config
CodeTeleport Configuration
agent : claude-code (Claude Code) deviceName : work-laptop apiUrl : https://api.codeteleport.com/v1 token : ctk_live_...f456 (set)With a different agent selected, the agent line renders as agent : codex (Codex) or agent : antigravity (Antigravity).
Switch coding agent
Section titled “Switch coding agent”$ codeteleport config set agent codexSet agent = codexUnrecognized IDs are rejected:
$ codeteleport config set agent gptUnknown agent: gpt. Supported: claude-code, codex, antigravityUpdate device name
Section titled “Update device name”$ codeteleport config set deviceName home-desktopSet deviceName = home-desktopPoint to local dev server
Section titled “Point to local dev server”$ codeteleport config set apiUrl http://localhost:8787/v1Set apiUrl = http://localhost:8787/v1Invalid key
Section titled “Invalid key”$ codeteleport config set token my-tokenToken is not settable via config. Use `codeteleport auth login` instead.
$ codeteleport config set unknown valueUnknown config key: unknownSettable keys: agent, deviceName, apiUrlRelated commands
Section titled “Related commands”codeteleport setup— full onboarding wizardcodeteleport auth— manage authenticationcodeteleport status— verify your config is working