stew

Stew (https://github.com/marwanhawari/stew) installs pre-compiled binaries from GitHub Releases.

Parsing notes:

  • stew search launches 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 --tags mixes 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.

  • Home page: https://github.com/marwanhawari/stew

  • Source: meta_package_manager/managers/stew.toml

  • Version requirement: >=0.3.0

Platforms

  • 🐧 Linux

  • 🍎 macOS

  • 🪟 Windows

Operations

Operation

Supported

installed

outdated

search

install

upgrade

upgrade_all

remove

sync

cleanup

Ecosystem

  • Accepted purl types: pkg:stew

Usage

$ mpm --stew installed
$ mpm --stew upgrade --all
$ mpm install pkg:stew/hello
$ mpm --dry-run --stew upgrade --all

Every example above accepts --dry-run, which simulates the underlying manager calls without touching the system: the safe way to watch what mpm would do before trusting it.

Deselect the manager for a single run with --no-stew, disable it from your configuration, or tune its invocation attributes with per-manager overrides.

Command line

  • CLI names, in lookup order: stew

The version is probed by running:

$ stew --version
stew version v0.6.0

and extracted with:

r"stew version v(?P<version>\S+)"

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 needs root.

See privilege escalation for the full policy.

Cooldown

State of stew’s release-age gating, from the cooldown support table:

  • Status: ❌ None

With --cooldown set, mpm skips this manager’s install and upgrade operations rather than run them unguarded (fail-closed); --allow-unsupported-managers opts back in.

Reference traces

Raw native outputs captured in the bundled definition: the reference mpm’s parsers were written against. 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/cli@v2.4.0
fzf:junegunn/fzf@0.29.0
hyperfine:https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine-v1.12.0-x86_64-apple-darwin.tar.gz
rg:BurntSushi/ripgrep@13.0.0