Interactive CLI tool for upgrading pnpm dependencies with ease. Inspired by yarn upgrade-interactive. Supports monorepos, workspaces, and batch upgrades.
npm install pnpm-upgrade-interactive⚠️ DEPRECATED ⚠️
This package is no longer maintained.
Please use the new actively developed successor: inup
It supports pnpm, npm, yarn, and bun with the same interactive upgrade experience (and more).



A powerful interactive CLI tool for upgrading pnpm dependencies with ease. Inspired by yarn upgrade-interactive, this tool makes dependency management a breeze for pnpm projects. Perfect for monorepos, workspaces, and batch upgrades ❤️
Ever found yourself staring at a wall of outdated packages, wondering which ones to upgrade? This tool helps you:
- Scans your entire project - finds all package.json files in your workspace
- Checks for updates - compares your current versions against the latest available
- Lets you pick what to upgrade - interactive interface to select exactly what you want
- Does the heavy lifting - updates your package.json files and runs pnpm install for you
If you're using pnpm and miss the convenience of yarn upgrade-interactive, this tool is perfect for you!
- 🚀 Fast & Efficient - Batch upgrade multiple packages at once
- 🔒 Safe Updates - Choose between minor updates or major version jumps
- 🏢 Monorepo Friendly - Works seamlessly with workspaces
- 📦 Registry Aware - Checks npm registry for latest versions
- 🎯 Selective Upgrades - Pick exactly which packages to upgrade
- ⚡ Zero Config - Works out of the box with sensible defaults
``bash`
npx pnpm-upgrade-interactive
`bash`
pnpm add -g pnpm-upgrade-interactive
`bash`
npm install -g pnpm-upgrade-interactive
Just run it in your project directory:
`bash`
pnpm-upgrade-interactive
The tool will scan your entire workspace (including monorepos), find outdated packages, and let you choose which ones to upgrade interactively.
- -d, --dir : Run in a specific directory (default: current directory)-e, --exclude
- : Skip directories matching these regex patterns (comma-separated)-p, --peer
- : Include peer dependencies in upgrade process (default: false)-o, --optional
- : Include optional dependencies in upgrade process (default: false)
Note: By default, the tool only processes dependencies and devDependencies. Both peerDependencies and optionalDependencies are excluded by default and must be explicitly included with their respective flags.
Examples:
`bashBasic usage - scans only dependencies and devDependencies
pnpm-upgrade-interactive
$3
1. Scans your project - Finds all package.json files recursively (respects exclude patterns)
2. Collects dependencies - Gathers dependencies based on your options (dependencies, devDependencies, and optionally peerDependencies/optionalDependencies)
3. Checks for updates - Queries npm registry for latest versions
4. Shows you options - Interactive UI lets you pick what to upgrade (minor updates or latest versions)
5. Updates safely - Modifies package.json files and runs
pnpm install` to update lockfileMIT