npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pnpm-upgrade-interactive

v1.3.9

Published

Interactive CLI tool for upgrading pnpm dependencies with ease. Inspired by yarn upgrade-interactive. Supports monorepos, workspaces, and batch upgrades.

Readme

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).

npm version Downloads Total downloads

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 ❤️

Interactive Upgrade Demo

What it does

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

Why choose pnpm-upgrade-interactive?

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

Installation

With npx (no installation needed)

npx pnpm-upgrade-interactive

Install globally with pnpm

pnpm add -g pnpm-upgrade-interactive

Alternative: npm

npm install -g pnpm-upgrade-interactive

Usage

Just run it in your project directory:

pnpm-upgrade-interactive

The tool will scan your entire workspace (including monorepos), find outdated packages, and let you choose which ones to upgrade interactively.

Command line options

  • -d, --dir <directory>: Run in a specific directory (default: current directory)
  • -e, --exclude <patterns>: 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:

# Basic usage - scans only dependencies and devDependencies
pnpm-upgrade-interactive

# Include peer dependencies in the upgrade process
pnpm-upgrade-interactive --peer

# Include optional dependencies
pnpm-upgrade-interactive --optional

# Include both peer and optional dependencies
pnpm-upgrade-interactive --peer --optional

# Skip example and test directories
pnpm-upgrade-interactive --exclude "example,test"

# Skip specific paths with regex
pnpm-upgrade-interactive -e "example/.*,.*\.test\..*"

# Run in a different directory
pnpm-upgrade-interactive --dir ../my-other-project

# Combine multiple options
pnpm-upgrade-interactive --dir ./packages --peer --exclude "test,dist"

How it works

  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 lockfile

License

MIT