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 artifacts |
| Cancel a run |
| Show VCS changes |
| Set or view comment |
| Compare two runs and show differences |
| Download artifacts |
| List recent runs |
| View log |
| Pin to prevent cleanup |
| Restart a run |
| Start a new run |
| Add tags |
| Show test results |
| Display snapshot dependency tree |
| Unpin a run |
| Remove tags |
| View 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 |
|---|---|
| Manage cloud images |
| Manage cloud instances |
| Manage cloud profiles |
| Open a browser to authorize the current TeamCity user against a connection |
| Create a project connection |
| Delete a project connection |
| List project connections |
| Create a project |
| 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 |
| Delete an SSH key |
| Generate an SSH key pair |
| List SSH keys |
| Upload an SSH private key |
| Get the value of a secure token |
| Store a secret and get a secure token |
| Display project hierarchy as a tree |
| Create a VCS root |
| Delete a VCS root |
| List VCS roots |
| Test a VCS root connection |
| View VCS root details |
| 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 |
Configs
Command | Description |
|---|---|
| Get a configuration value |
| List configuration settings |
| Set a configuration value |
Link
Command | Description |
|---|---|
| Bind this repository to a TeamCity project |
Pipelines
Command | Description |
|---|---|
| Create a new pipeline from YAML |
| Delete a pipeline |
| List pipelines |
| Download pipeline YAML |
| Upload pipeline YAML |
| Print the pipeline JSON schema for the current server |
| Validate pipeline YAML against server schema |
| View pipeline details |
Skills
Manage AI agent integration. See AI agent integration for details.
Command | Description |
|---|---|
| Install skills for AI coding agents |
| List available skills bundled with this release |
| Remove skills from AI coding agents |
| Update skills for AI coding agents |
Updates
Command | Description |
|---|---|
| Check for CLI updates |