outdated Verified current stable Not installed? Package Management

Outdated / Filter Outdated Packages Selector

Filter Outdated Packages Selector

Filters outdated packages based on a specific selector provided by the user.

$
Terminal
pnpm outdated --filter <package_selector>

When To Use

When managing large projects with many dependencies to focus on critical updates.

Pro Tip

Combine with `--interactive` to manage selection directly from terminal.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
pnpm outdated --filter <package_selector>

Anatomy of Output

Understanding the result

Package: specific-package Selected Package

Indicates the package being filtered.

Current: 1.0.0, Wanted: 2.0.0, Latest: 2.1.0 Version Info

Summarizes versioning data for the selected package.

# Use `pnpm update specific-package` to update instantly Instruction

Guidance on directly updating the filtered package.

Troubleshooting

Common pitfalls

ERR_PNPM_PACKAGE_NOT_FOUND: Package does not exist in dependencies

Solution: Verify the package selector correctness.

ERR_PNPM_FILTER_NO_MATCH: No packages matched the filter criteria

Solution: Ensure your selector pattern targets existing packages.

ERR_PNPM_OUTDATED_ENV: Outdated check failed for the specified environment

Solution: Make sure your environment is correctly configured.

Command Breakdown

What each part is doing

pnpm
Base Command
The executable that performs this operation. Here it runs Outdated before the shell applies any redirect operators.
<package_selector>
package selector
The value supplied for package selector.
--filter
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative package management tools for the same job.