← 返回命令列表

Linux command

bun-remove 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Remove a package

bun remove [package]

Remove multiple packages

bun remove [package1] [package2]

Remove a global package

bun remove -g [package]

说明

bun remove uninstalls packages from the project and removes them from package.json. This is equivalent to npm uninstall or yarn remove.

参数

-g, --global
Remove from global packages.
-d, --dev
Remove from devDependencies.

FAQ

What is the bun-remove command used for?

bun remove uninstalls packages from the project and removes them from package.json. This is equivalent to npm uninstall or yarn remove.

How do I run a basic bun-remove example?

Run `bun remove [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -g, --global do in bun-remove?

Remove from global packages.