Skip to main content
Use 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
You can also pass glob patterns to check for outdated packages:
terminal
For example, to check for outdated @types/* packages:
terminal
Or to exclude all @types/* packages:
terminal

Workspace Filters

Use the --filter flag to check for outdated dependencies in a different workspace package:
terminal
You can pass multiple --filter flags to check multiple workspaces:
terminal
You can also pass glob patterns to filter by workspace names:
terminal

Catalog Dependencies

bun outdated supports checking catalog dependencies defined inpackage.json:
terminal

CLI Usage

terminal

General Options

string
Specify path to config file (bunfig.toml)
string
Set a specific cwd
boolean
Print this help menu
string
Display outdated dependencies for each matching workspace

Output & Logging

boolean
Don’t log anything
boolean
Excessively verbose logging
boolean
Disable the progress bar
boolean
Don’t print a summary

Dependency Scope & Target

boolean
Don’t install devDependencies
string
Exclude dev, optional, or peer dependencies from install
boolean
Install globally

Lockfile & Package.json

boolean
Write a yarn.lock file (yarn v1)
boolean
Don’t update package.json or save a lockfile
boolean
default:"true"
Save to package.json (true by default)
boolean
Disallow changes to lockfile
boolean
Save a text-based lockfile
boolean
Generate a lockfile without installing dependencies
boolean
Add to trustedDependencies in the project’s package.json and install the package(s)

Network & Registry

string
Provide a Certificate Authority signing certificate
string
Same as —ca, but as a file path to the certificate
string
Use a specific registry by default, overriding .npmrc, bunfig.toml and environment variables
number
default:"48"
Maximum number of concurrent network requests (default 48)

Caching

string
Store & load cached data from a specific directory path
boolean
Ignore manifest cache entirely

Execution Behavior

boolean
Don’t install anything
boolean
Always request the latest versions from the registry & reinstall all dependencies
boolean
Skip verifying integrity of newly downloaded packages
boolean
Skip lifecycle scripts in the project’s package.json (dependency scripts are never run)
string
default:"clonefile"
Platform-specific optimizations for installing dependencies. Possible values: clonefile (default), hardlink, symlink, copyfile
number
default:"5"
Maximum number of concurrent jobs for lifecycle scripts (default 5)