macOS
brew install sternlocal Homebrew formula metadata
sudo port install sternMacPorts ports tree · sysutils/stern/Portfile · 来源: api.github.com
安装
brew install sternlocal Homebrew formula metadata
sudo port install sternMacPorts ports tree · sysutils/stern/Portfile · 来源: api.github.com
sudo apk add sternAlpine Linux edge package indexes · stern · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#sternnixpkgs package indexes · pkgs/by-name/st/stern/package.nix · 来源: api.github.com
sudo pacman -S sternArch Linux sync databases · stern · 来源: geo.mirror.pkgbuild.com
sudo zypper install sternopenSUSE Tumbleweed package metadata · stern · 来源: download.opensuse.org
choco install sternChocolatey community package catalog · stern · 来源: community.chocolatey.org
scoop install main/sternScoop official bucket manifest trees · bucket/stern.json · 来源: api.github.com
winget install --id stern.stern -eWindows Package Manager source index · stern.stern · 来源: cdn.winget.microsoft.com
概览
Tail multiple Kubernetes pods & their containers
历史
stern is a Kubernetes log-tailing CLI for following multiple pods and containers at once. In package-manager culture it is the small, sharp alternative to repeating kubectl logs commands while debugging workloads.
The current stern project identifies itself as a friendly fork of the discontinued wercker/stern project. Its GitHub repository was created in 2020, and the README keeps the original purpose visible: tail matching Kubernetes pods, colorize output, and automatically follow pods as they appear or disappear.
stern is distributed through direct GitHub releases, Go install, asdf, Homebrew, Krew, and WinGet according to its README, while the input package metadata also lists Linux and Windows package managers. That spread reflects its role as a routine Kubernetes operator tool rather than a single-platform utility.
Typical use is interactive cluster debugging: users pass a pod regex or resource name such as deployment/nginx, optionally select namespaces or containers, and stream logs with colored pod/container labels. Its config file lets users set default flag values such as tail count, concurrency, timestamps, and colors.
Package maintainers care about stern because it is a classic CLI that wraps a noisy platform workflow into one executable, has shell-completion and config-file behavior, and is also a kubectl-plugin ecosystem citizen through Krew.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/stern/config.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
stern | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/stern/stern
安装元数据
| 软件包键 | brew:stern |
|---|---|
| 版本 | 1.34.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/stern |
| 主页 | https://github.com/stern/stern |
| 仓库 | https://github.com/stern/stern |
| 上游文档 | https://github.com/stern/stern#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/stern/stern/archive/refs/tags/v1.34.0.tar.gz |
| 最后更新 | 2026-05-02T15:41:29Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | stern |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
stern
nix profile install nixpkgs#sternstern 1.33.0-r6
Multi pod and container log tailing for Kubernetes
https://github.com/stern/stern
sudo apk add sternstern-bash-completion 1.33.0-r6
Bash completions for stern
https://github.com/stern/stern
sudo apk add stern-bash-completionstern-fish-completion 1.33.0-r6
Fish completions for stern
https://github.com/stern/stern
sudo apk add stern-fish-completionstern-zsh-completion 1.33.0-r6
Zsh completions for stern
https://github.com/stern/stern
sudo apk add stern-zsh-completionstern 1.34.0-1
Multi pod and container log tailing for Kubernetes
https://github.com/stern/stern
sudo pacman -S sternstern 1.34.0-1.1
Multi pod and container log tailing for Kubernetes
https://github.com/stern/stern
sudo zypper install sternstern
sudo port install sternstern
choco install sternmain/stern
scoop install main/sternstern.stern
winget install --id stern.stern -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.