# 使用 Homebrew, apk, apt, MacPorts, Nix, scoop, winget 安装 kubetail

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

## 安装

```sh
sudo av install brew:kubetail
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kubetail
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kubetail
```

  证据: MacPorts ports tree: devel/kubetail/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add kubetail
```

  证据: Alpine Linux edge package indexes: kubetail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install kubetail
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#kubetail
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/kubetail
```

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

- winget (92%):

```sh
winget install --id Kubetail.Kubetail -e
```

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

## 软件包事实

- **软件包键:** brew:kubetail
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kubetail>
- **版本:** 0.18.0
- **来源摘要:** Logging tool for Kubernetes with a real-time web dashboard
- **主页:** <https://www.kubetail.com/>
- **仓库:** <https://github.com/kubetail-org/kubetail>
- **上游文档:** <https://docs.kubetail.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/kubetail-org/kubetail/archive/refs/tags/cli/v0.18.0.tar.gz>
- **最后更新:** 2026-06-16T18:31:40Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- kubetail (cli)
- kubetail (别名)

## 构建依赖

- go
- node
- pnpm

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.18.0
- 管理器更新时间: 2026-06-16
- 本地数据: OK
- 上游仓库: https://github.com/kubetail-org/kubetail
- 检测到的最新版本: cli/v0.18.0 (当前)
## 项目历史与用法

Kubetail is a Kubernetes logging CLI and dashboard for viewing logs from multi-container workloads in a single chronological stream. In package-manager terms it represents the shift from small log-follow scripts to installable desktop/browser-backed Kubernetes developer tools.

### 项目历史

The kubetail-org project describes Kubetail as a general-purpose logging dashboard optimized for real-time tailing across multi-container Kubernetes workloads. Its README and docs position the kubetail CLI as the entry point for launching a local web dashboard, streaming logs in a terminal, or managing cluster resources used by the tool.

### 采用历史

Kubetail adoption is visible through a public GitHub repository, a dedicated docs site, a public website, Homebrew packaging, and release artifacts for multiple operating systems. The project also publishes cluster and dashboard-oriented pieces, which moved it beyond the older convention of a shell-only kubectl logs wrapper.

### 使用方式

The common use is to run kubetail locally, select workloads, and inspect merged logs from multiple pods and containers. The docs emphasize that Kubetail reads through the Kubernetes API, so teams can tail logs without first shipping them to an external logging backend.

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

The package name is historically easy to confuse with older kubetail scripts, so the Homebrew formula and repository identity matter. This batch's package is the kubetail-org dashboard/CLI, not the older johanhaleby Bash script with the same human-friendly name.

### 时间线

- 2024: Public discussion and early issues described Kubetail as a web-based real-time log viewer for Kubernetes clusters.
- 2025: Kubetail release notes show continued CLI/dashboard work, including search, API backend, security, and packaging changes.
- 2026: The GitHub releases page listed cli/v0.18.0 with signed release artifacts for Linux, macOS, and Windows.

### Related projects

- Related tools include kubectl logs, stern, kail, k9s, Kubernetes Dashboard, and older kubetail shell scripts. Kubetail differs by combining a CLI, browser dashboard, and multi-container timeline-oriented log viewing.

### 来源

- <https://docs.kubetail.com/>
- <https://docs.kubetail.com/reference/cli>
- <https://formulae.brew.sh/formula/kubetail>
- <https://github.com/kubetail-org/kubetail>
- <https://github.com/kubetail-org/kubetail/releases>
- <https://www.kubetail.com/>


## 安全说明

infrastructure mutation or orchestration signal.

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

## 源数据库详情

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

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

- Debian apt - kubetail - 1.6.20-1: normalized package name match | Debian stable package indexes: kubetail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Aggregate logs from multiple Kubernetes pods into one stream | https://github.com/johanhaleby/kubetail
- Nix - kubetail: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubetail/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kubetail - 1.6.18-1: normalized package name match | Ubuntu 24.04 LTS package indexes: kubetail from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Aggregate logs from multiple Kubernetes pods into one stream | https://github.com/johanhaleby/kubetail
- apk - kubetail - 0.17.0-r1: normalized package name match | Alpine Linux edge package indexes: kubetail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Real-time logging dashboard for Kubernetes | https://github.com/kubetail-org/kubetail
- MacPorts - kubetail: normalized package name match | MacPorts ports tree: devel/kubetail/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/kubetail: normalized package name match | Scoop official bucket manifest trees: bucket/kubetail.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Kubetail.Kubetail: normalized package name match | Windows Package Manager source index: Kubetail.Kubetail from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [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.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Build dependency declared by Homebrew.
- [pnpm](https://www.automicvault.com/zh-hans/pkg/brew/pnpm/) - Build dependency declared by Homebrew.
- [chaoskube](https://www.automicvault.com/zh-hans/pkg/brew/chaoskube/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [click](https://www.automicvault.com/zh-hans/pkg/brew/click/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [clusterawsadm](https://www.automicvault.com/zh-hans/pkg/brew/clusterawsadm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [clusterctl](https://www.automicvault.com/zh-hans/pkg/brew/clusterctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cmctl](https://www.automicvault.com/zh-hans/pkg/brew/cmctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cozyhr](https://www.automicvault.com/zh-hans/pkg/brew/cozyhr/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cozypkg](https://www.automicvault.com/zh-hans/pkg/brew/cozypkg/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [crossplane](https://www.automicvault.com/zh-hans/pkg/brew/crossplane/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [kubeshark](https://www.automicvault.com/zh-hans/pkg/brew/kubeshark/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.
- [kubesess](https://www.automicvault.com/zh-hans/pkg/brew/kubesess/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.
- [kubebox](https://www.automicvault.com/zh-hans/pkg/npm/kubebox/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.

## Combined YAML source

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


## 来源

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