🍺 BREW Explorer

← all formulae

stern

brew install stern v1.34.0 Apache-2.0

Go CLI for tailing logs from multiple Kubernetes pods and containers with color-coding and regex filtering.

Why you might care

Essential for Kubernetes debugging — tail multiple pod logs in parallel with automatic filtering by pod name regex or resource selector, and watch new/deleted pods update in real time. Handles multi-container pods seamlessly without manual setup. A maintained fork of the original wercker/stern.

Categories

Alternatives

kubectl logs kubetail kail
2.3k
30-day installs · #903
9.6k
90-day · #827
40.2k
365-day · #767
4.7k
★ GitHub stars · updated 2mo ago

Build dependencies

go

GitHub topics

debugging devops kubernetes logging logs tail

Links

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "kubectl logs",
    "kubetail",
    "kail"
  ],
  "build_dependencies": [
    "go"
  ],
  "categories": [
    "kubernetes",
    "logging",
    "debugging",
    "observability"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tail multiple Kubernetes pods \u0026 their containers",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:11+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "stern",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-18T22:29:55Z",
  "github_readme_excerpt": "[![Build](https://github.com/stern/stern/workflows/CI/badge.svg)](https://github.com/stern/stern/actions?query=workflow%3ACI+branch%3Amaster)\n# stern\n\n*Fork of discontinued [wercker/stern](https://github.com/wercker/stern)*\n\nStern allows you to `tail` multiple pods on Kubernetes and multiple containers\nwithin the pod. Each result is color coded for quicker debugging.\n\nThe query is a regular expression or a Kubernetes resource in the form\n `\u003cresource\u003e/\u003cname\u003e` so the pod name can easily be filtered and\nyou don\u0027t need to specify the exact id (for instance omitting the deployment\nid). If a pod is deleted it gets removed from tail and if a new pod is added it\nautomatically gets tailed.\n\nWhen a pod contains multiple containers Stern can tail all of them too without\nhaving to do this manually for each one. Simply specify the `container` flag to\nlimit what containers to show. By default all containers are listened to.\n\n## Installation\n\n### Download binary\n\nDownload a [binary release](https://github.com/stern/stern/releases)\n\n### Build from source\n\n```\ngo install github.com/stern/stern@latest\n```\n\n### asdf (Linux/macOS)\n\nIf you use [asdf](https://asdf-vm.com/), you can install like this:\n```\nasdf plugin add stern\nasdf install stern latest\n```\n\n### Homebrew (Linux/macOS)\n\nIf you use [Homebrew](https://brew.sh), you can install like this:\n```\nbrew install stern\n```\n\n### Krew (Linux/macOS/Windows)\n\nIf you use [Krew](https://krew.sigs.k8s.io/) which is the package manager for kubectl plugins, you can install like this:\n```\nkubectl krew install stern\n```\n\n### WinGet (Windows)\n\nIf you\u0027re running on Windows, usually the actual best way is to use [WinGet](https://github.com/microsoft/winget-cli) to install which is Windows\u0027 built-in package manager, you can install like this:\n```\nwinget install stern.stern\n```\n\n## Usage\n\n```\nstern pod-query [flags]\n```\n\nThe `pod-query` is a regular expression or a Kubernetes resource in the form `\u003cresource\u003e/\u003cname\u003e`.\n\nThe query is a regular expressio",
  "github_repo": "stern/stern",
  "github_stars": 4747,
  "github_topics": [
    "debugging",
    "devops",
    "kubernetes",
    "logging",
    "logs",
    "tail"
  ],
  "homepage": "https://github.com/stern/stern",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2312,
  "installs_365d": 40212,
  "installs_90d": 9588,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:47:46+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "stern",
  "oldnames": [],
  "one_liner": "Go CLI for tailing logs from multiple Kubernetes pods and containers with color-coding and regex filtering.",
  "optional_dependencies": [],
  "rank_30d": 903,
  "rank_365d": 767,
  "rank_90d": 827,
  "raw_hash": "b9cc65885de5420c",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/stern.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.34.0",
  "versioned_formulae": [],
  "why_use_this": "Essential for Kubernetes debugging \u2014 tail multiple pod logs in parallel with automatic filtering by pod name regex or resource selector, and watch new/deleted pods update in real time. Handles multi-container pods seamlessly without manual setup. A maintained fork of the original wercker/stern."
}