← 返回命令列表

Linux command

bun-pm-bin 命令

文本

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

常用示例

Print local bin directory

bun pm bin

Print global bin directory

bun pm bin -g

说明

bun pm bin prints the path to the directory where package executables are installed. By default, it shows the local project's node_modules/.bin directory. With -g, it shows the global bin directory.

参数

-g, --global
Print the global bin directory instead of local.

FAQ

What is the bun-pm-bin command used for?

bun pm bin prints the path to the directory where package executables are installed. By default, it shows the local project's node_modules/.bin directory. With -g, it shows the global bin directory.

How do I run a basic bun-pm-bin example?

Run `bun pm bin` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -g, --global do in bun-pm-bin?

Print the global bin directory instead of local.