Skip to content

bun outdated CLI Usage

bash
bun outdated <filter>

General Options

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

Output & Logging

--silentboolean
Don't log anything
--verboseboolean
Excessively verbose logging
--no-progressboolean
Disable the progress bar
--no-summaryboolean
Don't print a summary

Dependency Scope & Target

-p, --productionboolean
Don't install devDependencies
--omitstring
Exclude dev, optional, or peer dependencies from install
-g, --globalboolean
Install globally

Lockfile & Package.json

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

Network & Registry

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

Caching

--cache-dirstring
Store & load cached data from a specific directory path
--no-cacheboolean
Ignore manifest cache entirely

Execution Behavior

--dry-runboolean
Don't install anything
-f, --forceboolean
Always request the latest versions from the registry & reinstall all dependencies
--no-verifyboolean
Skip verifying integrity of newly downloaded packages
--ignore-scriptsboolean
Skip lifecycle scripts in the project's package.json (dependency scripts are never run)
--backendstring default: clonefile
Platform-specific optimizations for installing dependencies. Possible values: clonefile (default),{" "} hardlink, symlink, copyfile
--concurrent-scriptsnumber default: 5
Maximum number of concurrent jobs for lifecycle scripts (default 5)

Bun by www.bunjs.com.cn 편집