# 使用 Homebrew, Nix, scoop, winget 安装 kapacitor

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

## 安装

```sh
sudo av install brew:kapacitor
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kapacitor
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kapacitor
```

  证据: nixpkgs package indexes: pkgs/by-name/ka/kapacitor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/kapacitor
```

  证据: Scoop official bucket manifest trees: bucket/kapacitor.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id InfluxData.Kapacitor -e
```

  证据: Windows Package Manager source index: InfluxData.Kapacitor from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:kapacitor
- **软件包管理器:** Homebrew
- **版本:** 1.8.6
- **来源摘要:** Open source time series data processor
- **主页:** <https://github.com/influxdata/kapacitor>
- **仓库:** <https://github.com/influxdata/kapacitor>
- **最后更新:** 2026-07-27T21:58:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kapacitor (别名)
- kapacitord (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.6
## 项目历史与用法

Kapacitor is InfluxData's time-series processing and alerting engine, built to process stream and batch data from InfluxDB with TICKscript.

### 项目历史

Kapacitor grew out of the InfluxData time-series stack as the action and processing layer paired with InfluxDB. InfluxData describes it as the native data processing engine for InfluxDB 1.x and an integrated component in the InfluxDB 2.0 platform, able to process both stream and batch data.

### 采用历史

Kapacitor became familiar to operators through the TICK stack: Telegraf collected metrics, InfluxDB stored them, Chronograf visualized them, and Kapacitor transformed, analyzed, and acted on them. Its presence in Homebrew, Scoop, winget, and Nix reflects its use as both a server daemon and an operator CLI in monitoring setups.

### 使用方式

A typical Kapacitor setup runs kapacitord, defines tasks with TICKscript, subscribes to InfluxDB data, and routes alerts or computed output through handlers. The kapacitor CLI and HTTP API are used to define tasks, manage recordings, inspect task state, and administer the daemon.

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

Kapacitor is a classic infrastructure package because it ships both a daemon and a CLI, keeps its main configuration under /etc, and ties package installation directly to service management. For package nerds it marks the era when time-series monitoring stacks were installed as composable Unix services before hosted observability platforms dominated many workflows.

### 时间线

- 2016: Kapacitor's v1.0.0-beta1 GitHub milestone closed on July 22 during the 1.0 stabilization period.
- 2020: Kapacitor 1.6 added Flux task support and moved user authentication and authorization into the open source distribution.
- 2025: Kapacitor 1.7.7 release notes deprecated Python 2 user-defined functions ahead of the 1.8 line.

### Related projects

- InfluxDB is the database Kapacitor was built to process data from.
- Telegraf and Chronograf are the other named tools in the TICK stack.
- Flux and TICKscript are the query/task languages most closely associated with Kapacitor's evolution.

### 来源

- <https://docs.influxdata.com/kapacitor/v1/introduction/getting-started/>
- <https://docs.influxdata.com/kapacitor/v1/reference/about_the_project/release-notes/>
- <https://github.com/influxdata/kapacitor/releases>
- <https://www.influxdata.com/time-series-platform/kapacitor/>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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: /etc/kapacitor/kapacitor.conf, $KAPACITOR_CONFIG_PATH

## Credential files

- Unix: /etc/kapacitor/kapacitor.conf, $KAPACITOR_CONFIG_PATH
## 其他软件包管理器记录

- Nix - kapacitor: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/kapacitor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/kapacitor: normalized package name match | Scoop official bucket manifest trees: bucket/kapacitor.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - InfluxData.Kapacitor: normalized package name match | Windows Package Manager source index: InfluxData.Kapacitor from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/kapacitor.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kapacitor.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
