Check for outdated dependencies. Supports Python, Rust, and npm ecosystems.
cargo install --path pcu # Python
cargo install --path ccu # Cargo/Rust
cargo install --path ncu # npm/pnpm/yarn/bun
pcu [PATH] # Check Python project
pcu -g # Check global packages (uv tools, pipx, pip --user)
ccu [PATH] # Check Cargo project
ncu [PATH] # Check npm/pnpm/yarn/bun project
| Flag | Description |
|---|---|
-u |
Update dependency files (patch only by default) |
-m |
Include minor updates (use with -u) |
-f |
Force update to absolute latest |
-p |
Include pre-release versions |
-g |
Global mode (pcu only) |
Combine flags: -um for patch+minor, -uf for everything.
pcu -g: For uv tools, only shows main tool packages, not dependencies within tool environments. Run uv tool upgrade --all to upgrade everything including dependencies.
pcu: requirements.txt, pyproject.toml (PEP 621/Poetry/PDM), environment.yml, lock files
ccu: Cargo.toml, Cargo.lock, workspaces
ncu: package.json, package-lock.json, pnpm-lock.yaml, yarn.lock (bun.lockb detection only)
Colors indicate severity: green=patch, yellow=minor, red=major.
Run without -u to preview. Run with -u to apply. Run your package manager afterward.
MIT