Favicon of npm-check-updates

npm-check-updates

Find and upgrade npm package dependencies to newer versions while preserving your semantic versioning policies. Works with npm, yarn, pnpm, deno, and bun.

npm-check-updates helps you keep your project dependencies current by identifying and upgrading packages to their latest available versions. Unlike manual version checking, it intelligently respects your existing semantic versioning constraints while proposing the newest compatible releases.

Key capabilities include:

  • Preserves versioning policies: Automatically maintains your semantic versioning ranges (e.g., ^17.0.2 upgrades to ^18.3.1 while keeping the caret operator)
  • Safe modifications: Only updates your package.json file—run npm install separately to apply changes to your actual dependencies
  • Interactive selection: Choose which packages to upgrade using an intuitive interactive mode with keyboard navigation
  • Flexible filtering: Target specific packages using wildcards, regex patterns, or comma-separated lists
  • Multi-package manager support: Compatible with npm, yarn, pnpm, deno, and bun
  • Customizable behavior: Sensible defaults with extensive configuration options for advanced use cases
  • Dual architecture: Pure ESM with CommonJS compatibility for flexible integration

The tool color-codes upgrade suggestions—red for major versions, cyan for minor updates, and green for patches—making it easy to assess the scope of changes at a glance. You can also set version age requirements to avoid newly published packages, filter by dependency type (dev, prod, optional, peer), and target specific upgrade strategies like minor-only or patch-only updates.

Install

Npm
$ npm install -g npm-check-updates

Features

Config fileJSON outputScriptable

Media

Pros

4
  • Upgrades npm package dependencies to newer versions.
  • Preserves semantic versioning policies.
  • Supports multiple package managers (npm, yarn, pnpm, deno, bun).
  • Highly customizable with sensible defaults.

Cons

1
  • Overwrites package.json, requiring version control and manual install step.

Related tools

Share:

Auto-fetched .

Recent releases

Similar to npm-check-updates

Favicon

 

  
 
Favicon

 

  
 
Favicon