bun rm <package...>
Remove a dependency from package.json
Arguments
Options
Name | Description |
---|
-c, --config [path] | Load config (bunfig.toml) |
-y, --yarn | Write a yarn.lock file (yarn v1) |
-p, --production | Don't install devDependencies |
--no-save | Don't save a lockfile |
--dry-run | Don't install anything |
--lockfile <path> | Store & load a lockfile at a specific filepath |
-f, --force | Always request the latest versions from the registry & reinstall all dependenices |
--cache-dir <path> | Store & load cached data from a specific directory path |
--no-cache | Ignore manifest cache entirely |
--silent | Don't log anything |
--verbose | Excessively verbose logging |
-g, --global | Install globally |
--cwd <path> | Set a specific cwd |
--backend <syscall> | Platform-specific optimizations for installing dependencies. For macOS, 'clonefile' (default), 'copyfile' |
--link-native-bins <str...> | Link 'bin' from a matching platform-specific 'optionalDependencies' instead. Default: esbuild, turbo |
--help | Print the help menu |