stern
$ brew install sternKubernetes logs, multi-pod tails, and debugging from the terminal.
- stern fits infra well, especially for kubernetes logs, multi-pod tails, and debugging from the terminal.
- 2,809 homebrew installs (30d).
- Easy to automate.
- Good fit for coding-agent workflows and repeatable scripts.
- Output is mostly text-first, so verify results before scripting around it.
Stern guide
Kubernetes logs, multi-pod tails, and debugging from the terminal. Built by Derailed.
Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.
When to apply
- kubernetes logs, multi-pod tails, and debugging from the terminal.
- You need observability in both local dev and CI.
- You need kubernetes logs.
- You need multi-pod tails.
- You need debugging.
Quick reference
brew install sternstern --versionstern apiOpen CLI × skills.sh
Open CLI integrates stern with the right skills.sh companions so you get the tool and the workflow together.
Monitoring & Observability
Recommended pairingOpen CLI recommends this skills.sh skill because it fits observability workflows. Use metrics, traces, and health checks to understand what your CLI changed.
$ npx skills add https://github.com/supercent-io/skills-template --skill monitoring-observabilityUse stern together with the Monitoring & Observability skills.sh skill. Start with safe inspection commands, summarize what you find, and ask before any step with side effects.
Why this tool
- stern fits infra well, especially for kubernetes logs, multi-pod tails, and debugging from the terminal.
- 2,809 homebrew installs (30d).
- Easy to automate.
Watch-outs
- Needs network access.
- Output is mostly plain text.
Example workflow
1. stern apiSafe start
Install stern.
Run `stern --version` first.
Start with `stern api`.
Install the infra CLI and verify kubeconfig, Docker context, or cloud credentials.