Commands
On this page
Every command shares the same policy engine and the same global flags; they differ only in what they do with the verdict. The four you reach for most:
| Command | What it does |
|---|---|
outdated | What could update, split into adoptable-now vs in-cooldown. |
upgrade | Move the graph to the newest matured version; re-locks. |
fix | Downgrade too-fresh dependencies to a matured version to clear a violation. |
check | The CI gate over the resolved lockfile graph (fail-closed). |
Two more pages cover the rest:
- Other commands: the smaller commands
baseline,explain,config,init,schema,sync,recover, andprune. - CLI reference: the global flags and the exit-code contract.
How they relate#
outdated and upgrade look forward — what newer version could or should you move to. check and fix look at the current state — is anything you have resolved right now too fresh, and how do you get back to green.
All four reason over the resolved graph by default, not just your manifest: a ^1.4 you declared pulls in transitive dependencies, and those are part of the risk surface. How each command treats transitive dependencies is controlled by --transitive (see the flags of check and fix), with a strict, act-on-them default that you opt out of, never into.
Note
Any command can be run with two flags:
--json: machine-readable output, whose schemacooldown schemaprints.--dry-run: resolve and print a plan without mutating anything.