Skip to main content
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
Glob patterns work too:
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
--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

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

Output & Logging

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

Dependency Scope & Target

-p, --production
boolean
Don’t install devDependencies
--omit
string
Exclude dev, optional, or peer dependencies from install
-g, --global
boolean
Install globally

Lockfile & Package.json

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

Network & Registry

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

Caching

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

Execution Behavior

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