# Installer stern avec Homebrew, apk, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de stern pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:stern
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install stern
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stern
```

  Preuve: MacPorts ports tree: sysutils/stern/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add stern
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#stern
```

  Preuve: nixpkgs package indexes: pkgs/by-name/st/stern/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S stern
```

  Preuve: Arch Linux sync databases: stern from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install stern
```

  Preuve: openSUSE Tumbleweed package metadata: stern from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install stern
```

  Preuve: Chocolatey community package catalog: stern from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.5836','capture'

- Scoop (92%):

```sh
scoop install main/stern
```

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

- winget (92%):

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

  Preuve: Windows Package Manager source index: stern.stern from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:stern
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/stern>
- **Version:** 1.34.0
- **Résumé source:** Tail multiple Kubernetes pods & their containers
- **Page d'accueil:** <https://github.com/stern/stern>
- **Dépôt:** <https://github.com/stern/stern>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/stern/stern/archive/refs/tags/v1.34.0.tar.gz>
- **Dernière mise à jour:** 2026-07-26T04:03:46+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- stern (cli)
- stern (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.34.0
- gestionnaire mis à jour: 2026-07-26
- données locales: OK
- dépôt amont: https://github.com/stern/stern
- dernière version détectée: v1.34.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 2020: The current stern/stern GitHub repository was created as a fork of discontinued wercker/stern.
- 2020s: The README documents installation through GitHub releases, Go install, asdf, Homebrew, Krew, and WinGet.
- 2020s: stern standardizes on ~/.config/stern/config.yaml as the default config file path.

### Related projects

- wercker/stern is the discontinued upstream named by the current fork.
- kubectl and Kubernetes client-go are the surrounding command-line ecosystem.
- Krew packages stern as a kubectl plugin.

### Sources

- <https://api.github.com/repos/stern/stern>
- <https://github.com/stern/stern#readme>
- source_facts.package-manager


## Notes de sécurité

infrastructure mutation or orchestration signal.

- **Risque Geiger:** orange / moyen
- 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: ~/.config/stern/config.yaml
## Détails de la base source

- **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:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - stern: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stern/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - stern - 1.33.0-r7: normalized package name match | Alpine Linux edge package indexes: stern from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Multi pod and container log tailing for Kubernetes | https://github.com/stern/stern
- apk - stern-bash-completion - 1.33.0-r7: normalized package name match | Alpine Linux edge package indexes: stern-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for stern | https://github.com/stern/stern
- apk - stern-fish-completion - 1.33.0-r7: normalized package name match | Alpine Linux edge package indexes: stern-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for stern | https://github.com/stern/stern
- apk - stern-zsh-completion - 1.33.0-r7: normalized package name match | Alpine Linux edge package indexes: stern-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for stern | https://github.com/stern/stern
- pacman - stern - 1.34.0-1: normalized package name match | Arch Linux sync databases: stern from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Multi pod and container log tailing for Kubernetes | https://github.com/stern/stern
- zypper - stern - 1.34.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: stern from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Multi pod and container log tailing for Kubernetes | https://github.com/stern/stern
- MacPorts - stern: normalized package name match | MacPorts ports tree: sysutils/stern/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - stern: normalized package name match | Chocolatey community package catalog: stern from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.5836','capture'
- Scoop - main/stern: normalized package name match | Scoop official bucket manifest trees: bucket/stern.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - stern.stern: normalized package name match | Windows Package Manager source index: stern.stern from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Cloud CLI packages](https://pkg.so/fr/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [grafana-alloy](https://pkg.so/fr/brew/grafana-alloy/) - Shares pkgdb curated category or tags: cli, developer-tools, logs, observability.
- [humanlog](https://pkg.so/fr/brew/humanlog/) - Shares pkgdb curated category or tags: cli, developer-tools, logs, observability.
- [alp](https://pkg.so/fr/brew/alp/) - Shares pkgdb curated category or tags: cli, developer-tools, logs, observability.
- [xclogparser](https://pkg.so/fr/brew/xclogparser/) - Shares pkgdb curated category or tags: cli, developer-tools, logs.
- [kubeconform](https://pkg.so/fr/brew/kubeconform/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [tilt](https://pkg.so/fr/brew/tilt/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [minikube](https://pkg.so/fr/brew/minikube/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kind](https://pkg.so/fr/brew/kind/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [cri-tools](https://pkg.so/fr/brew/cri-tools/) - Local package facts share a topical domain. Shared terms: cli, containers, developer, developer-tools, kubernetes.
- [angle-grinder](https://pkg.so/fr/brew/angle-grinder/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, logs.

## Combined YAML source

View the package source record on GitHub. [combined/stern.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stern.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
