The ClickHouse CLI (Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-port-ch-private-deployment-options.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
clickhousectl) is a unified command-line tool for managing ClickHouse Cloud resources and local development with ClickHouse.
Installation
chctl alias is also created automatically for convenience.
Cloud management
Authenticate with ClickHouse Cloud and manage your services directly from the command line.Authentication
.clickhouse/credentials.json (project-local, git-ignored).
You can also use environment variables:
Services
Organizations
API keys
Members and invitations
Backups
JSON output
Use the--json flag to get JSON-formatted responses from any cloud command:
Local development
The CLI also manages local ClickHouse installations and servers. See the quick install page for getting started with local development.Requirements
- macOS (aarch64, x86_64) or Linux (aarch64, x86_64)
- Cloud commands require a ClickHouse Cloud API key