Loading…
Introducing clickhousectl: the CLI for ClickHouse local and cloud (beta)
Al Brown
- Source
- Clickhouse
- Published
- Added to Yomu
Summary
ClickHouse released the beta version of clickhousectl, an official command-line interface designed to unify local operations and cloud infrastructure management for both humans and AI agents. The tool acts as a version manager that stores reusable binaries globally in ~/.clickhouse/versions/ while offering optional project directory scaffolding for SQL files. Developers and agents can run multiple isolated local server instances concurrently with automatic free-port detection and dedicated data directories. For ClickHouse Cloud, the CLI provides complete management coverage with structured JSON output, using read-only OAuth or scoped API key authentication to safeguard modifying operations. Additionally, the tool can install ClickHouse Agent Skills directly into supported coding agents to facilitate automated local and cloud interactions.
Context
The rise of agentic development requires infrastructure platforms to adapt to AI agents acting on behalf of users, expanding developer experience to include streamlined and predictable interfaces for LLMs across local development and cloud production environments.
Approach / What changed
ClickHouse launched clickhousectl for macOS and Linux, featuring version management, SQL project scaffolding, isolated multi-instance local server execution, ClickHouse Cloud management with JSON output, skill installation for coding agents, and separated OAuth and API key permissions.
Takeaways
- clickhousectl operates as a version manager storing binaries in ~/.clickhouse/versions/ and can run multiple isolated local instances with automatic port detection.
- All ClickHouse Cloud management commands support JSON output via the --json flag to facilitate programmatic parsing by scripts and AI agents.
- Browser-based OAuth credentials provide read-only access for cloud inspection, while modifying and destructive operations require organization-scoped API keys.