# 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
- **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>
- **Dernière mise à jour:** 2026-07-26T04:03:46+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- stern (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.34.0
## 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
## 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
