Getting started with clickhousectl: the ClickHouse CLI for local and cloud
Blog post from ClickHouse
clickhousectl is a command-line tool designed to streamline both local and cloud-based management of ClickHouse environments, providing functionalities for version management, project scaffolding, and server operations. It allows users to manage ClickHouse installations locally by installing versions, creating isolated servers, and setting up projects with standardized layouts for tables, views, and queries. For cloud operations, clickhousectl offers browser-based OAuth for read-only access and API key authentication for operations that alter state, enabling users to create, scale, and manage ClickHouse Cloud services. The tool supports usage in CI/CD pipelines by allowing for schema validation and query testing, and it integrates with AI agents to facilitate project setup and deployment. clickhousectl's open-source nature and its adaptability for both local and cloud environments make it a versatile tool for developers working with ClickHouse.