mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 15:51:29 +08:00
602 B
602 B
bun remove
Remove a dependency from
package.json. More information: https://bun.com/docs/pm/cli/remove.
- Remove a dependency:
bun {{[rm|remove]}} {{package_name}}
- Remove multiple dependencies:
bun {{[rm|remove]}} {{package_name1 package_name2 ...}}
- Remove a globally installed package:
bun {{[rm|remove]}} {{[-g|--global]}} {{package_name}}
- Remove a dependency without updating the
package.jsonfile:
bun {{[rm|remove]}} --no-save {{package_name}}
- Simulate running the command without actually removing packages:
bun {{[rm|remove]}} --dry-run {{package_name}}