← 返回命令列表

Linux command

bun-pm 命令

文本

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

常用示例

Show the bin directory path

bun pm bin

Show the global bin directory path

bun pm bin -g

List installed packages

bun pm ls

List all installed packages including dependencies

bun pm ls --all

Print the package manager version

bun pm version

Migrate from npm or yarn to Bun

bun pm migrate

Generate or update the lockfile without installing

bun pm hash

说明

bun pm provides package manager utilities for managing dependencies and package configuration. It offers commands for inspecting installations, migrating projects from npm/yarn, and working with the lockfile and cache.

FAQ

What is the bun-pm command used for?

bun pm provides package manager utilities for managing dependencies and package configuration. It offers commands for inspecting installations, migrating projects from npm/yarn, and working with the lockfile and cache.

How do I run a basic bun-pm example?

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

Where can I find more bun-pm examples?

This page includes 7 examples for bun-pm, plus related commands for nearby Linux tasks.