Skip to main content
Publishing & Analysis
bun outdated
Check for outdated dependencies
Use
You can also pass glob patterns to check for outdated packages:
For example, to check for outdated
Or to exclude all
You can pass multiple
You can also pass glob patterns to filter by workspace names:
bun outdated to check for outdated dependencies in your project. This command displays a table of dependencies 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
bun outdated supports searching for outdated dependencies by package names and glob patterns.
To check if specific dependencies are outdated, pass the package names as positional arguments:
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 flags to check multiple workspaces:
terminal
terminal
Catalog Dependencies
bun outdated supports checking catalog dependencies defined inpackage.json:
terminal
CLI Usage
terminal
General Options
Specify path to config file (
bunfig.toml)Set a specific cwd
Print this help menu
Display outdated dependencies for each matching workspace
Output & Logging
Don’t log anything
Excessively verbose logging
Disable the progress bar
Don’t print a summary
Dependency Scope & Target
Don’t install devDependencies
Exclude
dev, optional, or peer dependencies from installInstall globally
Lockfile & Package.json
Write a
yarn.lock file (yarn v1)Don’t update
package.json or save a lockfileSave to
package.json (true by default)Disallow changes to lockfile
Save a text-based lockfile
Generate a lockfile without installing dependencies
Add to
trustedDependencies in the project’s package.json and install the package(s)Network & Registry
Provide a Certificate Authority signing certificate
Same as
—ca, but as a file path to the certificateUse a specific registry by default, overriding
.npmrc, bunfig.toml and environment variablesMaximum number of concurrent network requests (default 48)
Caching
Store & load cached data from a specific directory path
Ignore manifest cache entirely
Execution Behavior
Don’t install anything
Always request the latest versions from the registry & reinstall all dependencies
Skip verifying integrity of newly downloaded packages
Skip lifecycle scripts in the project’s
package.json (dependency scripts are never run)Platform-specific optimizations for installing dependencies. Possible values:
clonefile (default),
hardlink, symlink, copyfileMaximum number of concurrent jobs for lifecycle scripts (default 5)
