# 使用 Homebrew, apt, Nix 安装 kanif

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

## 安装

```sh
sudo av install brew:kanif
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kanif
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install kanif
```

  证据: Debian stable package indexes: kanif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#kanif
```

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

## 软件包事实

- **软件包键:** brew:kanif
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kanif>
- **版本:** 1.2.2
- **来源摘要:** Cluster management and administration tool
- **主页:** <https://packages.debian.org/stable/net/kanif>
- **仓库:** <https://gitlab.inria.fr/taktuk/kanif>
- **上游文档:** <https://manpages.debian.org/testing/kanif/kanif.1.en.html>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://deb.debian.org/debian/pool/main/k/kanif/kanif_1.2.2.orig.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- kaget (cli)
- kanif (cli)
- kaput (cli)
- kash (cli)
- kaget (别名)
- kanif (别名)
- kaput (别名)
- kash (别名)

## 依赖

- taktuk

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.2.2
- 本地数据: OK
- 上游仓库: https://packages.debian.org/stable/net/kanif
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

kanif is a small cluster administration command suite built as a friendlier wrapper around TakTuk for parallel remote execution.

### 项目历史

The official TakTuk project site describes kanif as a tool that combines conventions from C3, pdsh, and dsh while relying on TakTuk for adaptive large-scale remote execution. Its commands split the classic cluster-admin workflow into parallel shell execution, file broadcast, and file gathering.

The official GitLab repository and ChangeLog preserve the release line through version 1.2.2, with entries for compatibility updates, file-reading fixes, sequential execution fixes, output handling, and the initial release.

### 采用历史

The official TakTuk page credits Lucas Nussbaum for Debian testing and packaging help, placing kanif in the Debian packaging ecosystem for Unix cluster administrators. The input metadata records Homebrew, Debian, Ubuntu, and Nix packages, exposing the same niche tool through general-purpose package managers.

### 使用方式

kanif users run `kash` for the same command across nodes, `kaput` to copy files or directories to nodes, and `kaget` to gather remote files or directories. The tool expects TakTuk, Perl, and passwordless remote login such as SSH keys on the cluster nodes.

The official man page documents C3-style configuration files searched at `$HOME/.kanif.conf`, `/etc/kanif.conf`, and `/etc/c3.conf`, and also allows command-line host lists for less static setups.

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

kanif is package-manager archaeology for pre-Kubernetes cluster operations: a thin Unix command suite, C3-style configuration paths, and no resident control plane. Its significance is less broad adoption than the way it preserves an HPC and lab-cluster administration style in modern package indexes.

### 时间线

- 1.0: Official ChangeLog marks the initial release.
- 1.1: Official ChangeLog says compatibility with TakTuk 3.3 and the -F option were added.
- 1.2: Official ChangeLog says compatibility with TakTuk 3.6 and above was added.
- 1.2.2: Official ChangeLog lists connection-loss, version-test, missing-file, and hostname-gathering fixes.
- 2022: Debian manpage source metadata records kanif 1.2.2-4 source updated on 2022-07-28.

### Related projects

- TakTuk provides the large-scale remote execution engine underneath kanif. C3, pdsh, and dsh are the older cluster administration tools whose interface ideas kanif intentionally echoes.

### 来源

- <https://gitlab.inria.fr/taktuk/kanif>
- <https://gitlab.inria.fr/taktuk/kanif/-/raw/master/ChangeLog>
- <https://manpages.debian.org/testing/kanif/kanif.1.en.html>
- <https://manpages.debian.org/testing/kanif/kanif.conf.5.en.html>
- <https://taktuk.gitlabpages.inria.fr/kanif.html>
- source_facts.package-manager


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## 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: ~/.kanif.conf, /etc/kanif.conf, /etc/c3.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kanif
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - kanif - 1.2.2-4: normalized package name match | Debian stable package indexes: kanif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cluster management and administration swiss army knife | https://taktuk.gitlabpages.inria.fr/kanif.html
- Nix - kanif: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/kanif/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kanif - 1.2.2-4: normalized package name match | Ubuntu 24.04 LTS package indexes: kanif from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | cluster management and administration swiss army knife | https://taktuk.gitlabpages.inria.fr/kanif.html


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [taktuk](https://www.automicvault.com/zh-hans/pkg/brew/taktuk/) - Runtime dependency declared by Homebrew.
- [dsh](https://www.automicvault.com/zh-hans/pkg/brew/dsh/) - Shares av.db curated category or tags: cli, cluster-management, remote-execution, ssh, system.
- [pdsh](https://www.automicvault.com/zh-hans/pkg/brew/pdsh/) - Shares av.db curated category or tags: cli, cluster-management, remote-execution, system.
- [genders](https://www.automicvault.com/zh-hans/pkg/brew/genders/) - Shares av.db curated category or tags: cli, cluster-management, system.
- [orgalorg](https://www.automicvault.com/zh-hans/pkg/brew/orgalorg/) - Shares av.db curated category or tags: cli, remote-execution, ssh, system.
- [rex](https://www.automicvault.com/zh-hans/pkg/brew/rex/) - Shares av.db curated category or tags: cli, remote-execution, ssh, system.
- [apt-dater](https://www.automicvault.com/zh-hans/pkg/brew/apt-dater/) - Shares av.db curated category or tags: cli, ssh, system.
- [btrfs-progs](https://www.automicvault.com/zh-hans/pkg/brew/btrfs-progs/) - Shares av.db curated category or tags: administration, cli, system.
- [mpssh](https://www.automicvault.com/zh-hans/pkg/brew/mpssh/) - Shares av.db curated category or tags: cli, ssh, system.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- 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
