---
# Generated by kapten-docs from the CLI's command tree. DO NOT EDIT.
title: "Command reference"
description: "Every kapten command, its arguments and its flags."
sidebar:
  label: "Overview"
---

Every command the CLI has, generated from the CLI itself. `kapten <command> --help` prints the same information in a terminal.

| Command | What it does |
| --- | --- |
| [`kapten auth`](/cli/reference/auth) | Log in, check who commands run as, and switch between saved logins |
| [`kapten applications`](/cli/reference/applications) | Deploy and run long-running applications |
| [`kapten clusters`](/cli/reference/clusters) | Connect and manage Kubernetes clusters |
| [`kapten components`](/cli/reference/components) | List the components of an environment |
| [`kapten databases`](/cli/reference/databases) | Create and manage databases |
| [`kapten environments`](/cli/reference/environments) | Create and manage the environments of a project |
| [`kapten jobs`](/cli/reference/jobs) | Run and schedule jobs |
| [`kapten pipelines`](/cli/reference/pipelines) | Build and run deployment pipelines |
| [`kapten projects`](/cli/reference/projects) | Create and manage projects |
| [`kapten usage`](/cli/reference/usage) | Show environment usage for billing |
| [`kapten mcp`](/cli/reference/mcp) | Serve Kapten operations as MCP tools to a coding agent |

## Global flags

These flags work with every command.

| Flag | Description |
| --- | --- |
| `--context string` | Saved login to use for this command (see kapten auth list) |
| `-h, --help` | Show help |
| `-v, --rsh-verbose` | Show request and response headers (-vv adds TLS details) |
| `--version` | Show the version |
