> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-revert-104359-revert-104251-parquet-single.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 安装 ClickHouse

# 安装指南

<div className="ch-install-cloud-card">
  <span className="ch-install-cloud-badge">推荐</span>

  <span className="ch-install-cloud-icon" aria-hidden="true" />

  <p className="ch-install-cloud-title">ClickHouse Cloud</p>

  <p className="ch-install-cloud-description">
    无需为集群进行容量规划和扩缩容，即可立即开始构建。ClickHouse Cloud 会负责容量规划、扩缩容、
    安全、可靠性和升级。
  </p>

  <div className="ch-install-cloud-actions">
    <a className="ch-install-cloud-cta" href="https://clickhouse.cloud/signUp?loc=docs-install-page-banner">
      免费开始使用
    </a>

    <a className="ch-install-cloud-cta ch-install-cloud-cta-secondary" href="/zh/get-started/setup/cloud">
      阅读快速入门教程
    </a>
  </div>
</div>

如果你希望自行管理，请从下方的开源 ClickHouse 选项中选择一种。
你可以使用快速安装脚本或 `clickhousectl` 命令行客户端进行本地安装，或者通过软件包或二进制文件安装
ClickHouse Server，用于生产环境部署。

<h3 className="install-group-heading">本地开发</h3>

<p className="install-group-description">
  在你自己的机器上运行 ClickHouse，用于构建、测试和实验。
  快速安装可让你迅速获得单个二进制文件，或者使用 clickhousectl
  来安装和管理本地版本及服务器。
</p>

<Columns cols={4}>
  <Card title="快速安装" icon="https://mintcdn.com/private-7c7dfe99-revert-104359-revert-104251-parquet-single/rb0n1z-8hTJw0J9E/images/install/linux.svg?fit=max&auto=format&n=rb0n1z-8hTJw0J9E&q=85&s=d7635bed61804b6589c0a17dae53e404" href="/zh/get-started/setup/self-managed/quick-install" width="2500" height="2500" data-path="images/install/linux.svg" />

  <Card title="clickhousectl (命令行客户端)" icon="terminal" href="/zh/get-started/setup/self-managed/clickhousectl" />

  <Card title="Docker" icon="https://mintcdn.com/private-7c7dfe99-revert-104359-revert-104251-parquet-single/rb0n1z-8hTJw0J9E/images/install/docker.svg?fit=max&auto=format&n=rb0n1z-8hTJw0J9E&q=85&s=4c7db6f38ec16400c04ab6fd8f1c1429" href="/zh/get-started/setup/self-managed/docker" width="512" height="512" data-path="images/install/docker.svg" />

  <Card title="源码构建" icon="code" href="/zh/get-started/setup/self-managed/advanced" />
</Columns>

<h3 className="install-group-heading">生产服务器</h3>

<p className="install-group-description">
  通过软件包或二进制文件安装 ClickHouse Server，以便在你自己的基础设施上进行
  长期运行的部署。
</p>

<Columns cols={4}>
  <Card title="Debian/Ubuntu" icon="https://mintcdn.com/private-7c7dfe99-revert-104359-revert-104251-parquet-single/rb0n1z-8hTJw0J9E/images/install/DebianUbuntu.svg?fit=max&auto=format&n=rb0n1z-8hTJw0J9E&q=85&s=b4c097c4328d76f52b77eaffb55fb98e" href="/zh/get-started/setup/self-managed/debian-ubuntu" width="4079" height="2508" data-path="images/install/DebianUbuntu.svg" />

  <Card title="Redhat" icon="https://mintcdn.com/private-7c7dfe99-revert-104359-revert-104251-parquet-single/rb0n1z-8hTJw0J9E/images/install/redhat.svg?fit=max&auto=format&n=rb0n1z-8hTJw0J9E&q=85&s=eec63c1e4e3199cf66da54950f258bfe" href="/zh/get-started/setup/self-managed/redhat" width="2500" height="2500" data-path="images/install/redhat.svg" />

  <Card title="NixOS" icon="https://mintcdn.com/private-7c7dfe99-revert-104359-revert-104251-parquet-single/rb0n1z-8hTJw0J9E/images/install/nixos.svg?fit=max&auto=format&n=rb0n1z-8hTJw0J9E&q=85&s=8bcbedf330854a1b89727195e5b11075" href="/zh/get-started/setup/self-managed/nixos" width="535" height="464" data-path="images/install/nixos.svg" />

  <Card title="其他 Linux" icon="https://mintcdn.com/private-7c7dfe99-revert-104359-revert-104251-parquet-single/rb0n1z-8hTJw0J9E/images/install/linux.svg?fit=max&auto=format&n=rb0n1z-8hTJw0J9E&q=85&s=d7635bed61804b6589c0a17dae53e404" href="/zh/get-started/setup/self-managed/other-linux" width="2500" height="2500" data-path="images/install/linux.svg" />
</Columns>
