# 使用 Homebrew Cask 安装 confluent-cli

查看 confluent-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:confluent-cli
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask confluent-cli
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:confluent-cli
- **软件包管理器:** Homebrew Cask
- **软件包管理器页面:** <https://formulae.brew.sh/cask/confluent-cli>
- **版本:** 4.70.1
- **来源摘要:** Enables developers to manage Confluent Cloud or Confluent Platform
- **主页:** <https://docs.confluent.io/confluent-cli/current/overview.html>
- **上游文档:** <https://docs.confluent.io/confluent-cli/current/overview.html>
- **源码归档:** <https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/4.70.1/confluent_4.70.1_darwin_arm64.tar.gz>
- **最后更新:** 2026-07-22T22:01:11Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- confluent (二进制)
- confluent (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 4.70.1
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://docs.confluent.io/confluent-cli/current/overview.html
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Confluent CLI is Confluent's terminal client for managing Confluent Cloud and Confluent Platform deployments. It packages Kafka, Flink, Schema Registry, networking, identity, API-key, and platform-management workflows behind the confluent command.

### 项目历史

The official repository states that the CLI manages Confluent Cloud and Confluent Platform from the terminal and that its command reference is generated from the repository. Confluent's documentation positions it as the starting point for working with both managed and self-managed Confluent environments.

The modern CLI is distributed as a first-party tool across macOS, Linux, Windows, Docker, APT, YUM, and Homebrew tap channels. Its update-check behavior and user configuration are recorded in ~/.confluent/config.json, which also makes the file important for credentials and operational state.

### 采用历史

Adoption follows Confluent's own platform surface: users install the CLI to create and inspect clusters, environments, API keys, Kafka topics, Flink resources, networks, and related services. The release feed shows frequent additions tracking Confluent Cloud and Platform features, including Flink, Tableflow, network endpoints, certificate authorities, and API-key behavior.

### 使用方式

Common usage starts with login and environment selection, then proceeds through cluster, topic, API-key, connector, Flink, Schema Registry, and local-services commands. The docs also describe direct API-key and secret use for produce and consume flows, with a reminder that generated secrets must be saved because they are not retrievable later.

### 为什么软件包爱好者会关心

For package maintainers, Confluent CLI is a vendor CLI with fast release cadence, prebuilt platform archives, self-update behavior, Docker images, and first-party package repositories. The Homebrew cask wraps that vendor distribution for macOS users who want the official confluent binary managed alongside other tools.

### 时间线

- 2026: v4.60.0 added Materialized Table commands for Confluent Cloud.
- 2026: v4.61.0 added Azure Private Link and GCP Private Service Connect ingress support.
- 2026: v4.67.0 added Global API key support to confluent api-key store and use.
- 2026: v4.68.0 added endpoint listing and on-premises Flink application, secret-mapping, event, and secret commands.

### Related projects

- Official sources tie the CLI to Confluent Cloud, Confluent Platform, Apache Kafka, Flink, Schema Registry, Control Center, package repositories, Docker, and the confluentinc/cli GitHub repository.

### 来源

- <https://github.com/confluentinc/cli#readme>
- <https://docs.confluent.io/confluent-cli/current/overview.html>
- <https://docs.confluent.io/confluent-cli/current/command-reference/index.html>
- <https://github.com/confluentinc/cli/releases>
- <https://github.com/confluentinc/cli/releases/tag/v4.60.0>
- <https://github.com/confluentinc/cli/releases/tag/v4.61.0>
- <https://github.com/confluentinc/cli/releases/tag/v4.67.0>
- <https://github.com/confluentinc/cli/releases/tag/v4.68.0>


## 安全说明

没有找到 confluent-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.confluent/config.json

## Credential files

- Unix: ~/.confluent/config.json
## 源数据库详情

- **Source Database:** Homebrew cask API
- **Tap:** homebrew/cask
- **Full Token:** confluent-cli
- **Names:** Confluent CLI
- **Artifacts:** Binary: 1, Target: 1, Zap: 1
- **Deprecated:** no
- **Disabled:** no

## 其他软件包管理器记录

- Nix - confluent-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/confluent-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - confluent-cli: normalized package name match | MacPorts ports tree: sysutils/confluent-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/confluent-cli: normalized package name match | Scoop official bucket manifest trees: bucket/confluent-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - ConfluentInc.Confluent-CLI: normalized package name match | Windows Package Manager source index: ConfluentInc.Confluent-CLI from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Homebrew Cask packages](https://www.automicvault.com/zh-hans/pkg/homebrew-cask-packages/) - Generated from Homebrew Cask package-manager metadata.
- [Homebrew Cask binaries](https://www.automicvault.com/zh-hans/pkg/homebrew-cask-binaries/) - Cask artifact metadata includes a binary.

## Combined YAML source

View the package source record on GitHub. [combined/confluent-cli.yml](https://github.com/automic-vault/db/blob/main/combined/confluent-cli.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
