# 使用 Homebrew, Nix 安装 litmusctl

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

## 安装

```sh
sudo av install brew:litmusctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install litmusctl
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#litmusctl
```

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

## 软件包事实

- **软件包键:** brew:litmusctl
- **软件包管理器:** Homebrew
- **版本:** 1.27.0
- **来源摘要:** Command-line interface for interacting with LitmusChaos
- **主页:** <https://litmuschaos.io>
- **仓库:** <https://github.com/litmuschaos/litmusctl>
- **最后更新:** 2026-07-26T13:41:02+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- litmusctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

litmusctl is the command-line companion to LitmusChaos, a CNCF-hosted cloud-native chaos engineering platform. It matters less as a standalone tool than as the terminal interface for connecting Chaos Delegates, creating projects, scheduling Chaos Scenarios, and managing LitmusChaos accounts.

### 项目历史

LitmusChaos began as Kubernetes-oriented chaos engineering tooling before becoming a CNCF project. The separate litmusctl repository was created on February 15, 2021, after Litmus had already entered CNCF Sandbox, giving operators a Go-based CLI for the agent-plane workflows around Litmus ChaosCenter and Kubernetes clusters.

The litmusctl README documents versioned usage guides spanning early v0.2-era compatibility through later v0.12-v0.23 and 1.x releases, which reflects its role as a compatibility-sensitive operations tool tied to LitmusChaos control-plane versions.

### 采用历史

Litmus itself was accepted into CNCF on June 25, 2020 and moved to Incubating on January 11, 2022. That CNCF path gave the surrounding tools, including litmusctl, a place in cloud-native SRE workflows rather than only in vendor-specific chaos demos.

The broader Litmus project advertises adopters and end-user case studies, while litmusctl adoption is mostly implicit: users who run LitmusChaos in Kubernetes clusters need a supported CLI path for delegate connection and account operations.

### 使用方式

litmusctl is used to connect Chaos Delegates, create projects, schedule Chaos Scenarios, disconnect delegates, and manage multiple LitmusChaos accounts. Its documented requirements include a kubeconfig at ~/.kube/config and kubectl underneath for applying manifests.

For package users, the key operational detail is version compatibility: the README maps litmusctl releases such as 1.19.0 through 1.26.0 to supported Chaos Center version ranges.

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

For Homebrew and Nix users, litmusctl is a small example of a cloud-native project's operational surface being shipped as a standalone CLI, separate from the heavier Kubernetes control plane it manages.

It also shows the package-manager problem of distributing fast-moving Kubernetes ecosystem CLIs whose usefulness depends on a compatibility matrix rather than only on their own version number.

### 时间线

- 2017: LitmusChaos work began as simple Kubernetes chaos jobs, according to CNCF project history.
- 2020-06-25: Litmus was accepted into CNCF.
- 2021-02-15: The litmuschaos/litmusctl GitHub repository was created.
- 2022-01-11: Litmus moved to CNCF Incubating.
- 2026-05-20: The litmusctl repository listed release 1.26.0.

### Related projects

- LitmusChaos is the parent chaos engineering platform; ChaosHub provides reusable chaos experiments; kubectl and Kubernetes are required context for delegate installation and cluster operations.

### 来源

- <https://api.github.com/repos/litmuschaos/litmusctl>
- <https://github.com/litmuschaos/litmus>
- <https://github.com/litmuschaos/litmusctl>
- <https://litmuschaos.io/>
- <https://www.cncf.io/projects/litmus/>


## 安全说明

没有找到 litmusctl 的匹配本地密钥处理 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: ~/.kube/config

## Credential files

- Unix: ~/.kube/config
## 其他软件包管理器记录

- Nix - litmusctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/litmusctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/litmusctl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/litmusctl.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
