teamcity is the official command-line client for TeamCity. It covers the day-to-day — starting builds, tailing logs, digging through the queue — and the odd jobs too: shelling into build agents, editing job settings, raw REST calls when nothing else fits.
FAQ
teamcity-cli is a Claude Code plugin with 2 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes migrate-to-teamcity, teamcity-cli. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add JetBrains/teamcity-cli> /plugin install teamcity-cli@JetBrains-teamcity-cli
teamcity is the official command-line client for TeamCity. It covers the day-to-day — starting builds, tailing logs, digging through the queue — and the odd jobs too: shelling into build agents, editing job settings, raw REST calls when nothing else fits.

Full documentation, including installation, authentication, and a command reference, lives at jb.gg/tc/docs.
macOS (Homebrew):
brew install jetbrains/utils/teamcity
Linux:
curl -fsSL https://jb.gg/tc/install | bash
Windows (Winget):
winget install JetBrains.TeamCityCLI
npm:
npm install -g @jetbrains/teamcity-cli
Debian/Ubuntu:
curl -fsSLO https://github.com/JetBrains/teamcity-cli/releases/latest/download/teamcity_linux_amd64.deb
sudo dpkg -i teamcity_linux_amd64.deb
RHEL/Fedora:
sudo rpm -i https://github.com/JetBrains/teamcity-cli/releases/latest/download/teamcity_linux_amd64.rpm
Arch Linux (AUR):
yay -S teamcity-bin
PowerShell:
irm https://jb.gg/tc/install.ps1 | iex
CMD:
curl -fsSL https://jb.gg/tc/install.cmd -o install.cmd && install.cmd && del install.cmd
Chocolatey:
choco install teamcitycli
Scoop:
scoop bucket add jetbrains https://github.com/JetBrains/scoop-utils
scoop install teamcity
Build from source:
go install github.com/JetBrains/teamcity-cli/tc@latest
See the getting started guide for the full walkthrough.
Log in once and the CLI remembers the server:
teamcity auth login
Then:
# my latest build on this branch
teamcity run list --user @me --branch @this --limit 1
# start a build and stay attached to it
teamcity run start MyProject_Build --branch main --watch
# logs from the latest build of a job
teamcity run log --job MyProject_Build
# what's sitting in the queue
teamcity queue list
# shell into a build agent
teamcity agent term Agent-Linux-01
One naming note: TeamCity says build and build configuration; the CLI says run and job. The glossary has the full mapping.
Every command takes --json or --plain for scripting, and --web opens the matching page in the TeamCity UI. When no command covers what you need, teamcity api calls the REST API directly with your stored credentials. You can also log in to several servers and switch between them — see configuration.
| Group | Commands |
|---|---|
| auth | login, logout, status |
| run | list, start, view, watch, log, tree, changes, tests, diff, cancel, download, artifacts, restart, pin/unpin, tag/untag, comment |
| job | list, view, create, tree, pause/resume, step list/view/add/delete, param list/get/set/delete, settings list/get/set |
| project | list, view, create, tree, vcs list/view/create/test/delete, ssh list/generate/upload/delete, cloud profile/image/instance, connection list/view/create github-app/create docker/authorize/delete, param, token get/put, settings export/status/validate |
| pipeline | list, view, create, validate, pull, push, schema, delete |
| queue | list, approve, , |
Run teamcity <command> --help for usage, or see the command reference.
The CLI ships with an Agent Skill that teaches coding agents (Claude Code, Cursor, and others) how to drive teamcity:
teamcity skill install # auto-detects installed agents
teamcity skill install --project # install to current project only
teamcity skill update # update to the version bundled with teamcity
teamcity skill remove # uninstall
or specifically for Claude Code:
/plugin marketplace add JetBrains/teamcity-cli
/plugin install teamcity-cli@teamcity-cli
See AI agent integration for details.
TeamCity CLI is open source under the Apache-2.0 license. Bug reports and pull requests are welcome — CONTRIBUTING.md covers how the project is built and tested.
.claude-plugin/
marketplace.json
plugin.json
.env.example
.github/
CODEOWNERS
dependabot.yml
ISSUE_TEMPLATE/
bug_report.yml
config.yml
eval_task.yml
feature_request.yml
migrate_issue.yml
PULL_REQUEST_TEMPLATE.md
SECURITY.md
.gitignore
.golangci.yml
.goreleaser.yaml
.teamcity/
.teamcity.yml
init-teamcity.sh
acceptance/
acceptance_test.go
README.md
testdata/
agent/
agent-authenticated.txtar
agent-list.txtar
alias/
alias-lifecycle.txtar
alias-list-empty.txtar
alias-set.txtar
analytics/
optout.txtar
api/
api-endpoints.txtar
api-errors.txtar
api-headers.txtar
api-input-stdin.txtar
api-methods.txtar
api-paginate.txtar
api-post-field.txtar
api-server.txtar
api-signal-cancel.txtar
auth/
auth-authenticated.txtar
auth-guest.txtar
auth-login-invalid-token.txtar
auth-login-token.txtar
auth-status-invalid-token.txtar
auth-status-multiserver.txtar
auth-status-not-logged-in.txtar
config/
color.txtar
config-lifecycle.txtar
extra-headers.txtar
readonly.txtar
help/
help.txtar
job/
job-alias-buildtype.txtar
job-authenticated.txtar
job-create.txtar
job-list.txtar
job-settings.txtar
job-step.txtar
job-tree.txtar
job-view.txtar
link/
link-help.txtar
link-paths.txtar
link-resolves-into-commands.txtar
link-write.txtar
pipeline/
pipeline-list.txtar
pool/
pool-authenticated.txtar
pool-link-unlink.txtar
pool-list.txtar
project/
project-authenticated.txtar
project-connection.txtar
project-create.txtar
project-list.txtar
project-settings-status.txtar
project-token-lifecycle.txtar
project-tree.txtar
project-vcs.txtar
project-view.txtar
queue/
queue-actions.txtar
queue-authenticated.txtar
queue-list.txtar
run/
run-alias-build.txtar
run-artifacts.txtar
run-changes.txtar
run-download-options.txtar
run-list-favorites.txtar
run-list-filters.txtar
run-list-formats.txtar
run-list-user-filter.txtar
run-log.txtar
run-metadata-extended.txtar
run-metadata.txtar
run-restart.txtar
run-start.txtar
run-tests.txtar
run-tree.txtar
run-validation.txtar
run-view.txtar
run-watch.txtar
skill/
skill-help.txtar
skill-lifecycle.txtar
AGENTS.md
api/
agents_test.go
agents.go
api_test.go
auth_source.go
builds_artifacts_test.go
builds_artifacts.go
builds_metadata_test.go
builds_metadata.go
builds_queue_test.go
builds_queue.go
builds_test.go
builds.go
client_test.go
client.go
cloud_test.go
cloud.go
connections_test.go
connections.go
dateutil_test.go
dateutil.go
drift_test.go
errors_parse_test.go
errors_parse.go
errors_test.go
errors.go
fields_test.go
fields.go
headers_test.go
headers.go
interface.go
jobs_test.go
jobs.go
locator_test.go
locator.go
messages_test.go
messages.go
paginate_test.go
paginate.go
params_test.go
params.go
permissions.go
pipelines_test.go
pipelines.go
pkce_test.go
pkce.go
pools_test.go
pools.go
probe_test.go
probe.go
projects_test.go
projects.go
retry_test.go
retry.go
sandbox_test.go
settings_test.go
settings.go
ssh_keys_test.go
ssh_keys.go
terminal_pty_test.go
terminal_test.go
testenv_test.go
tests_test.go
tests.go
tls.go
types.go
users_test.go
users.go
vcs_roots_test.go
vcs_roots.go
CLAUDE.md
CONTRIBUTING.md
docs/
c.list
cfg/
buildprofiles.xml
images/
agent-exec_dark.gif
agent-exec.gif
agent-jobs_dark.gif
agent-jobs.gif
agent-list_dark.gif
agent-list.gif
agent-term_dark.gif
agent-term.gif
agent-view_dark.gif
agent-view.gif
alias-workflow_dark.gif
alias-workflow.gif
auth-login_dark.gif
auth-login.gif
cloud-instance-list_dark.gif
cloud-instance-list.gif
cloud-profile-list_dark.gif
cloud-profile-list.gif
job-list_dark.gif
job-list.gif
job-tree_dark.gif
job-tree.gif
json-output_dark.gif
json-output.gif
pipeline-list_dark.gif
pipeline-list.gif
pipeline-schema_dark.gif
pipeline-schema.gif
pool-list_dark.gif
pool-list.gif
pool-view_dark.gif
pool-view.gif
project-list_dark.gif
project-list.gif
project-tree_dark.gif
project-tree.gif
project-vcs_dark.gif
project-vcs.gif
run-diff_dark.gif
run-diff.gif
run-list_dark.gif
run-list.gif
run-log_dark.gif
run-log.gif
run-start-watch_dark.gif
run-start-watch.gif
run-tests_dark.gif
run-tests.gif
run-tree_dark.gif
run-tree-pipeline_dark.gif
run-tree-pipeline.gif
run-tree.gif
run-watch-logs_dark.gif
run-watch-logs.gif
showcase_dark.gif
showcase.gif
skill-install_dark.gif
skill-install.gif
index.html
tapes/
agent-exec.tape
agent-jobs.tape
agent-list.tape
agent-term.tape
agent-view.tape
alias-workflow.tape
auth-login.tape
cloud-instance-list.tape
cloud-profile-list.tape
job-list.tape
job-tree.tape
json-output.tape
pipeline-list.tape
pipeline-schema.tape
pool-list.tape
pool-view.tape
project-list.tape
project-tree.tape
project-vcs.tape
run-diff.tape
run-list.tape
run-log.tape
run-start-watch.tape
run-tests.tape
run-tree-pipeline.tape
run-tree.tape
run-watch-logs.tape
showcase.tape
skill-install.tape
teamcity-cli.tree
topics/
teamcity-cli-ai-agent-integration.md
teamcity-cli-aliases.md
teamcity-cli-analytics.md
teamcity-cli-authentication.md
teamcity-cli-commands.md
teamcity-cli-configuration.md
teamcity-cli-get-started.md
teamcity-cli-glossary.md
teamcity-cli-linking.md
teamcity-cli-managing-agent-pools.md
teamcity-cli-managing-agents.md
teamcity-cli-managing-build-queue.md
teamcity-cli-managing-cloud-agents.md
teamcity-cli-managing-jobs.md
teamcity-cli-managing-pipelines.md
teamcity-cli-managing-projects.md
teamcity-cli-managing-runs.md
teamcity-cli-rest-api-access.md
teamcity-cli-scripting.md
teamcity-cli.md
v.list
writerside.cfg
evals/
.env
checks.py
conftest.py
Dockerfile
pyproject.toml
README.md
scaffold/
claude.py
events.py
graders.py
langfuse_log.py
runner.py
sentry_log.py
tasks.py
scripts/
compare.py
tasks.json
tests/
__init__.py
test_checks.py
test_tasks.py
uv.lock
go.mod
go.sum
install.cmd
install.ps1
install.sh
internal/
analytics/
api_resource_test.go
api_resource.go
cdn_cache.go
client_test.go
client.go
detect_test.go
detect.go
enums.go
events.go
integration_test.go
main_test.go
notice.go
optout_test.go
optout.go
scheme_test.go
scheme.go
server_info_test.go
server_info.go
session_test.go
session.go
staging_send_test.go
validate_test.go
validate.go
atomicfile/
atomicfile.go
browserflow/
flow_test.go
flow.go
templates/
callback.html
cmd/
agent/
agent_jobs.go
agent_reboot.go
agent_state.go
agent_test.go
agent.go
terminal.go
alias/
alias_test.go
alias.go
expand_test.go
expand.go
analytics_internal_test.go
analytics.go
api/
api_test.go
api.go
auth/
auth_test.go
auth.go
errors.go
login.go
logout.go
pkce_test.go
pkce.go
status.go
cmd_enum_test.go
cmd_test.go
completion_integration_test.go
config/
config_test.go
config.go
job/
... 259 more© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic
removetop| agent | list, view, term, exec, jobs, authorize/deauthorize, enable/disable, move, reboot |
| pool | list, view, link/unlink |
| api | Raw REST API access |
| link | Bind this repository to a TeamCity project via teamcity.toml |
| config | list, get, set |
| alias | set, list, delete |
| skill | list, install, remove, update |
| update | Check for CLI updates |