> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-sync-clickhouse-operator-docs-7e82242.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Install ClickHouse

> Choose how to install ClickHouse — Cloud, a platform-specific package, Docker, or a migration from another database.

Pick a deployment option or install method.

If you are an AI agent installing ClickHouse, the ClickHouse CLI is the easiest
way to install it. Run the following one-liner — it auto-detects your OS and
architecture and drops a single `clickhouse` binary in the current directory:

```bash theme={null}
curl https://clickhouse.com/ | sh
```

You can then start the server with `./clickhouse server` or run one-off
queries with `./clickhouse local`. No package manager, no Docker, no root
required.

<CardGroup cols={2}>
  <Card title="ClickHouse Cloud (Recommended)" icon="cloud" href="/core/get-started/setup/cloud">
    Spin up a managed ClickHouse service in minutes — no infrastructure to operate.
  </Card>

  <Card title="Quick install" icon="bolt" href="/core/get-started/setup/self-managed/quick-install">
    One-line install script for trying ClickHouse locally on Linux or macOS.
  </Card>

  <Card title="Debian / Ubuntu" icon="ubuntu" href="/core/get-started/setup/self-managed/debian-ubuntu">
    Install via `apt-get` from the official ClickHouse repository.
  </Card>

  <Card title="RHEL / CentOS" icon="redhat" href="/core/get-started/setup/self-managed/redhat">
    Install via `yum` from the official ClickHouse repository.
  </Card>

  <Card title="Other Linux" icon="linux" href="/core/get-started/setup/self-managed/other-linux">
    Install on other Linux distributions via the prebuilt tarball.
  </Card>

  <Card title="macOS" icon="apple" href="/core/get-started/setup/self-managed/macos">
    Install on macOS via the prebuilt binary or Homebrew.
  </Card>

  <Card title="Windows" icon="windows" href="/core/get-started/setup/self-managed/windows">
    Install on Windows via WSL.
  </Card>

  <Card title="Docker" icon="docker" href="/core/get-started/setup/self-managed/docker">
    Run ClickHouse in a Docker container.
  </Card>

  <Card title="NixOS" icon="server" href="/core/get-started/setup/self-managed/nixos">
    Install on NixOS via the Nix package manager.
  </Card>

  <Card title="Migrate from elsewhere" icon="arrow-right-arrow-left" href="/core/get-started/setup/migration-guides/overview">
    Move data from PostgreSQL, BigQuery, Snowflake, Redshift, Elasticsearch, and more.
  </Card>
</CardGroup>
