mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-19 01:43:18 +08:00
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
614 B
614 B
bun remove
Remove a dependency from
package.json. Note:rmcan be used as an alias forremove. More information: https://bun.sh/docs/cli/remove.
- Remove a dependency:
bun remove {{package_name}}
- Remove multiple dependencies:
bun remove {{package_name1 package_name2 ...}}
- Remove a globally installed package:
bun remove {{[-g|--global]}} {{package_name}}
- Remove a dependency without updating the
package.jsonfile:
bun remove --no-save {{package_name}}
- Run the command without actually removing packages (simulate the removal):
bun remove --dry-run {{package_name}}