Bun

bun remove

To remove a dependency:

bun remove ts-node

CLI Usage

$bun remove <packages>

Flags

Config File

-c,--config=<val>

Lockfile Management

-y,--yarn
--no-save
--save
--frozen-lockfile
--save-text-lockfile
--lockfile-only

Dependency Management

-p,--production
--trust
--omit=<val>

Certificate Management

--ca=<val>
--cafile=<val>

Dry Run

--dry-run

Force Update

-f,--force

Caching

--cache-dir=<val>
--no-cache

Logging and Output

--silent
--verbose
--no-progress
--no-summary

Integrity and Scripts

--no-verify
--ignore-scripts

Global Installation

-g,--global

Working Directory

--cwd=<val>

Installation Backend

--backend=<val>

Registry

--registry=<val>

Concurrency

--concurrent-scripts=<val>
--network-concurrency=<val>

Help

-h,--help

Examples

Remove a dependency
bun remove ts-node
Full documentation is available at https://bun.sh/docs/cli/remove