Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions pages/common/bun-remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# bun remove

> Remove a dependency from `package.json`.
> More information: <https://bun.sh/docs/cli/remove>.
- Remove a dependency:

`bun {{[rm|remove]}} {{package_name}}`

- Remove multiple dependencies:

`bun {{[rm|remove]}} {{package_name1}} {{package_name2}}`

- Remove a [g]lobally installed package:

`bun {{[rm|remove]}} {{[-g|--global]}} {{package_name}}`

- Remove a dependency without updating the `package.json` file:

`bun {{[rm|remove]}} --no-save {{package_name}}`

- Run the command without actually removing packages (simulate the removal):

`bun {{[rm|remove]}} --dry-run {{package_name}}`
7 changes: 7 additions & 0 deletions pages/common/bun-rm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# bun rm

> This command is an alias of `bun remove`.
- View documentation for the original command:

`tldr bun remove`