Command Reference
This page provides a quick reference for all available TeamCity CLI commands. Each command group links to a detailed page with full descriptions, flags, and examples.
Authentication
Manage server authentication. See Authentication for details.
Command | Description |
|---|---|
| Authenticate with a TeamCity server |
| Log out from a TeamCity server |
| Show authentication status |
Runs
Start, monitor, and manage builds. See Managing runs for details.
Command | Description |
|---|---|
| List run artifacts |
| Cancel a running build |
| Show VCS changes in a run |
| Set or view run comment |
| Download run artifacts |
| List recent runs |
| View run log |
| Pin a run to prevent cleanup |
| Restart a run |
| Start a new run |
| Add tags to a run |
| Show test results for a run |
| Unpin a run |
| Remove tags from a run |
| View run details |
| Watch a run until it completes |
Jobs
View and configure build configurations. See Managing jobs for details.
Command | Description |
|---|---|
| List jobs |
| Delete a job parameter |
| Get a job parameter value |
| List job parameters |
| Set a job parameter value |
| Pause a job |
| Resume a paused job |
| Display snapshot dependency tree |
| View job details |
Projects
Browse projects and manage parameters and settings. See Managing projects for details.
Command | Description |
|---|---|
| List projects |
| Delete a project parameter |
| Get a project parameter value |
| List project parameters |
| Set a project parameter value |
| Export project settings as Kotlin DSL or XML |
| Show versioned settings sync status |
| Validate Kotlin DSL configuration locally |
| Get the value of a secure token |
| Store a secret and get a secure token |
| Display project hierarchy as a tree |
| View project details |
Queues
Manage the build queue. See Managing the build queue for details.
Command | Description |
|---|---|
| Approve a queued run |
| List queued runs |
| Remove a run from the queue |
| Move a run to the top of the queue |
Agents
Monitor and control build agents. See Managing agents for details.
Command | Description |
|---|---|
| Authorize an agent |
| Deauthorize an agent |
| Disable an agent |
| Enable an agent |
| Execute command on agent |
| Show jobs an agent can run |
| List build agents |
| Move an agent to a different pool |
| Reboot an agent |
| Open interactive terminal to agent |
| View agent details |
Agent Pools
Manage agent pool assignments. See Managing agent pools for details.
Command | Description |
|---|---|
| Link a project to an agent pool |
| List agent pools |
| Unlink a project from an agent pool |
| View pool details |
API
Make raw REST API requests. See REST API access for details.
Command | Description |
|---|---|
| Make an authenticated API request |
Aliases
Create custom command shortcuts. See Aliases for details.
Command | Description |
|---|---|
| Delete an alias |
| List configured aliases |
| Create a command alias |
Skills
Manage AI agent integration. See AI agent integration for details.
Command | Description |
|---|---|
| Install the teamcity-cli skill for AI coding agents |
| Remove the teamcity-cli skill from AI coding agents |
| Update the teamcity-cli skill for AI coding agents |