🍺 BREW Explorer

← all formulae

clickhouse-cpp

brew install clickhouse-cpp v2.6.2 Apache-2.0

C++ client library for ClickHouse

50
30-day installs · #4669
130
90-day · #5009
439
365-day · #5412
373
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

GitHub topics

clickhouse cpp

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "abseil",
    "lz4",
    "openssl@4",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C++ client library for ClickHouse",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:26+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "clickhouse-cpp",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-17T10:08:13Z",
  "github_readme_excerpt": "ClickHouse C++ client [![Linux](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/linux.yml/badge.svg)](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/linux.yml) [![macOS](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/macos.yml/badge.svg)](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/macos.yml) [![Windows MSVC](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/windows_msvc.yml/badge.svg)](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/windows_msvc.yml) [![Windows mingw](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/windows_mingw.yml/badge.svg)](https://github.com/ClickHouse/clickhouse-cpp/actions/workflows/windows_mingw.yml)\n=====\n\nC++ client for [ClickHouse](https://clickhouse.com/).\n\n## Supported data types\n\n* Array(T)\n* Bool \\* (by default, mapped to UInt8 when receiving data)\n* Date\n* DateTime, DateTime64\n* DateTime([timezone]), DateTime64(N, [timezone])\n* Decimal32, Decimal64, Decimal128\n* Enum8, Enum16\n* FixedString(N)\n* Float32, Float64\n* IPv4, IPv6\n* Nullable(T)\n* String\n* LowCardinality(String) or LowCardinality(FixedString(N))\n* Tuple\n* UInt8, UInt16, UInt32, UInt64, Int8, Int16, Int32, Int64\n* UInt128, Int128\n* UUID\n* Map\n* Point, Ring, Polygon, MultiPolygon\n* JSON - experimental support; requires output_format_native_write_json_as_string=1; data is passed as strings\n\n\\*: There exists a distinct `ColumnBool` and entry in the `Type` enumeration that\ncan be used.\nBy default, data received from the server will map Bool columns to UInt8. This is\na backwards compatibility feature.\nIf you want the library to produce ColumnBool, set the CMake variable `DCH_MAP_BOOL_TO_UINT8=OFF`.\nThe default for this variable will switch, with it being subsequently removed, in\na future release.\n\n## Dependencies\nIn the most basic case one needs only:\n- a C++-17-complaint compiler,\n- `cmake` (3.12 or newer), and\n- `ninja`\n\nOptional dependencies:\n- openssl\n- liblz4\n- libabs",
  "github_repo": "ClickHouse/clickhouse-cpp",
  "github_stars": 373,
  "github_topics": [
    "clickhouse",
    "cpp"
  ],
  "homepage": "https://github.com/ClickHouse/clickhouse-cpp",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 50,
  "installs_365d": 439,
  "installs_90d": 130,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "clickhouse-cpp",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 4669,
  "rank_365d": 5412,
  "rank_90d": 5009,
  "raw_hash": "9086d4ffaa54f9bd",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/clickhouse-cpp.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.6.2",
  "versioned_formulae": [],
  "why_use_this": null
}