# 使用 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
- **版本:** 1.2.2
- **来源摘要:** Cluster management and administration tool
- **主页:** <https://packages.debian.org/stable/net/kanif>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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


## Combined YAML source

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