bun outdated displays a table of the dependencies in your project that have newer versions available.
terminal
Version Information
The output table shows three version columns:- Current: The version currently installed
- Update: The latest version that satisfies your package.json version range
- Latest: The latest version published to the registry
Dependency Filters
To check a specific dependency, pass its name as a positional argument:terminal
terminal
@types/* packages:
terminal
@types/* packages:
terminal
Workspace Filters
Use the--filter flag to check for outdated dependencies in a different workspace package:
terminal
--filter accepts glob patterns to match multiple workspaces:
terminal
Catalog Dependencies
bun outdated also checks catalog dependencies defined in package.json:
terminal
CLI Usage
terminal
General Options
Output & Logging
Dependency Scope & Target
Lockfile & Package.json
Network & Registry
Caching
Execution Behavior
Skip lifecycle scripts for all packages, including the project’s
package.json and trusted dependenciesPlatform-specific optimizations for installing dependencies. Possible values:
clonefile (default on
macOS), hardlink (default on Linux and Windows), symlink, copyfile