stew¶
Note
stew is a single-maintainer project; its last release was 0.6.0 (April 2025) and issues have since accumulated, though it is not archived.
- ID
stew- Link
- Upstream stars
⭐ 355
- Last commit
2025-05-06
- Version requirement
>= 0.3
- Platforms
🐧 Linux · 🍎 macOS · 🪟 Windows
- Operations
installed·install·upgrade·upgrade_all·remove- purl types
pkg:stew/- CLI name
stew- Issues and PRs
- Source
Stew installs pre-compiled binaries from GitHub Releases.
Parsing notes:
stew searchlaunches an interactive terminal UI and cannot be used programmatically, so no search operation is declared.Stew identifies packages by binary name for upgrade and uninstall, but uses the owner/repo format for install.
stew list --tagsmixes two line shapes: GitHub-sourced packages (“binary:owner/repo@tag”, whose tag is the version, cosmetic “v” prefix stripped) and URL-sourced packages (“binary:url”, carrying no version). The installed regex alternation covers both, keeping the version group out of the URL branch so those packages are yielded version-less.
What mpm adds to stew¶
mpm reaches across every manager at once, not stew alone: mpm installed and mpm outdated cover stew alongside every other manager you run in one table, mpm upgrade --all updates them together, and mpm sbom exports the whole machine as one bill of materials.
Every mpm command also gains --dry-run and --plan previews, cross-scheme version comparison and purl identifiers. See manager augmentations for how each one is built.
Your stew commands, in mpm¶
You already know stew: each operation maps one-to-one onto mpm, in an interface shared by every manager.
To… |
With |
With |
|---|---|---|
List what’s installed |
|
|
Install a package |
|
|
Upgrade one package |
|
|
Upgrade everything |
|
|
Remove a package |
|
|
Prefix any command above with --dry-run to simulate the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.
Operations¶
Operation |
Supported |
|---|---|
|
✅ |
|
|
|
|
|
|
|
✅ |
|
✅ |
|
✅ |
|
✅ |
|
|
|
|
|
Configuration¶
Ignore
stewon thempmCLI by passing the--no-stewoption.Ignore it for every run in your configuration:
[mpm] stew = false
Raise the timeout of all
stewcalls:[mpm.overrides.stew] timeout = 900
Run
mpm config-template stewto print all overridable settings for your configuration file:[mpm.overrides.stew] cli_names = [ "stew", ] cli_search_path = [] dry_run = false ignore_auto_updates = true plan = false post_args = [] pre_args = [] pre_cmds = [] requirement = ">=0.3.0" stop_on_error = false unmaintained = false version_cli_options = [ "--version", ] version_regexes = [ "stew version v(?P<version>\\S+)", ]
Recipes¶
A few jobs you would otherwise script around stew, one mpm command each:
Snapshot and clone a machine:
mpm --stew dump stew.toml, thenmpm restore stew.tomlon the next one.Export a compliance SBOM:
mpm --stew sbom(CycloneDX by default,--spdxfor SPDX).
Privilege escalation¶
mpm runs this manager as the current user and never prepends sudo by default. Flip the policy for its privileged operations with --sudo or the per-manager sudo override.
None of its operations is privileged.
See privilege escalation for the full policy.
Cooldown¶
State of stew’s release-age gating, from the cooldown support table:
Status: ❌ None
A cooldown only pays off where a compromised release can be withdrawn while the clock runs, and can only be emulated where the registry dates its releases. From the retraction table:
Registry: GitHub release assets
Retraction: None: withdrawing a build is the upstream author deleting their own release or tag. Nothing sits between them and the user
Publish date: ✅ server-set
published_aton each release (REST API)
With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --cooldown best-effort opts back in.
Reference traces¶
A collection of raw native outputs captured from the manager’s own CLI and recorded in the bundled definition. If you know stew well and a transcript below looks wrong, or a newer release changed its output format, report it.
$ stew list --tags
gh:cli/[email protected]
fzf:junegunn/[email protected]
hyperfine:https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine-v1.12.0-x86_64-apple-darwin.tar.gz
rg:BurntSushi/[email protected]
Version check¶
The version is probed by running:
$ stew --version
stew version v0.6.0
and extracted with:
r"stew version v(?P<version>\S+)"
Upstream project¶
Metrics |
|
|---|---|
Activity |
|
Popularity |
|
Metadata |
|