Supported ecosystems
On this page
cooldown auto-detects the package managers in a directory and drives each one with the same
commands and config. Every package manager is its own --tool, with a page of its own:
| Ecosystem | --tool | Registry | Reads |
|---|---|---|---|
| Rust | cargo | crates.io | Cargo.toml / Cargo.lock |
| Go | go | GOPROXY | go.mod / go.sum |
| Python (uv) | uv | PyPI | pyproject.toml / uv.lock |
| Python (pip) | pip | PyPI | requirements.txt |
| Python (Poetry) | poetry | PyPI | pyproject.toml / poetry.lock |
| Python (conda) | conda | anaconda.org (+ PyPI) | conda-lock.yml |
| Python (pixi) | pixi | anaconda.org (+ PyPI) | pixi.lock |
| npm | npm | npm registry | package.json / package-lock.json |
| pnpm | pnpm | npm registry | pnpm-lock.yaml |
| Yarn (Classic v1 and Berry v2+) | yarn | npm registry | yarn.lock |
| Bun | bun | npm registry | bun.lock |
| Deno | deno | npm + JSR | deno.json / deno.lock |
| Ruby | bundler | rubygems.org | Gemfile / Gemfile.lock |
| Elixir | hex | hex.pm | mix.exs / mix.lock |
| Java (Maven) | maven | Maven Central | pom.xml |
| Java (Gradle) | gradle | Maven Central | gradle.lockfile |
| Swift | swift | GitHub Releases | Package.resolved |
Aliases are accepted wherever a --tool name is, and each names exactly one tool:
crates,rust:cargogolang:gopypi,python:uvmamba,micromamba:condaspm,swiftpm:swiftnode,js,javascript,typescript:npmbundle,ruby,gem,rubygems:bundlermix,elixir:hexmvn:maven
Note
To act on an ecosystem, its native tool must be installed and on your PATH. Ecosystems you
don’t use need nothing: detection skips them. See
Getting started.
How each is driven#
cooldown never treats a native package manager as the source of policy. The cooldown verdict is
computed in one core evaluator, the same for every ecosystem. The native tool is used only to
resolve a lockfile graph and to apply changes back to it. That keeps “adoptable” identical
across ecosystems.
One generic adapter is specialised per lockfile format. Publish times come from each registry’s own metadata:
- Go: GOPROXY
@v/<ver>.info. - Rust: crates.io.
- Python: PyPI and anaconda.org.
- JavaScript: the npm registry and JSR.
- SwiftPM: GitHub Releases.
Adapters that mix registries resolve each dependency against its own source: Deno’s npm: and
jsr:, conda and PyPI, pixi and PyPI.
Registries and native cooldowns#
Some ecosystems already ship a native cooldown:
Where one exists, cooldown sync (or the global
--sync flag) writes the resolved policy down into that native config. cooldown.toml stays the
single source of truth, and the native tool sees the same window you set once.
Which binary runs#
cooldown runs each package manager as the program its name finds on PATH. COOLDOWN_<BIN>
names a different program, with the binary’s name in upper case and - spelled _:
COOLDOWN_CARGO, COOLDOWN_GO, COOLDOWN_UV, COOLDOWN_PNPM. Each tool’s page names the binaries
it runs.
When PATH leads to a mise shim, every command first runs mise, which picks
the tool and its environment for the command’s directory. That costs tens of milliseconds per call,
and a cargo upgrade makes hundreds of calls. cooldown still goes through the shim, because the
shim also applies the environment, wrappers and installs from the project’s mise.toml, and a
direct call would skip them.
A tool that mise does not manage reaches its real binary through the shim’s fallback anyway, so
naming that binary directly loses nothing and skips the overhead. For a rustup-managed cargo, set
COOLDOWN_CARGO="$HOME/.cargo/bin/cargo", or put ~/.cargo/bin ahead of mise’s shims on PATH.
An override names a program and nothing else. It applies no mise environment, so use it only for a tool whose mise configuration you do not need.
Several ecosystems at once#
In a polyglot repository every detected ecosystem runs in its own lane, and the lanes run
concurrently: while cargo waits on crates.io, uv is already resolving against PyPI, whether
they live in different directories or share one. A lane runs its own projects one after another,
since concurrent invocations of one package manager block on that manager’s own cache lock.
Some work still takes turns:
- Ecosystems that rewrite the same manifest: only these take turns under
upgrade,fix, or--lock. uv and poetry both ownpyproject.toml, and every npm-family tool ownspackage.json, so two of them at one root, or one nested in the other’s workspace, run in turn.--dry-runmutates a throwaway copy, so it reads side by side too. --buildsteps: run one at a time across ecosystems, since every ecosystem installs into the environment shared at a root (node_modules,.venv).- Upgrades of tools whose native command installs as it pins (
poetry add,conda install,swift package update): run one at a time too, and so doesoutdated’s preview of such an update, which runs the same command on a copy.
--jobs <N> caps how many ecosystems run at once; --jobs 1 runs them one after another. The
reports, their order, and the exit code are the same as a sequential run’s. The interactive
progress display shows one block per live ecosystem, and the plain transcript names the tool and
project on every per-project line.
Scoping to a subset#
In a polyglot repository, restrict a run to one or more ecosystems with --tool, repeatable or
comma-separated:
cooldown outdated --tool cargo,go
cooldown check --tool uv--cargo is a shorthand for --tool cargo. It is the right default for a Rust workspace living
inside a polyglot monorepo, since it skips detecting and enumerating everything else. When no
--tool is given, every detected ecosystem is included.