snippetbashTip
bun pm — A set of utilities for working with Bun's package manager. Some subcommands such as `pack`, `pkg` ha
Viewed 0 times
commandutilitiescliworkingwithsetforbun pm
Problem
How to use the
bun pm command: A set of utilities for working with Bun's package manager. Some subcommands such as pack, pkg have their own usage documentation. More information: <https://bun.com/docs/pm/cli/pm>.Solution
bun pm — A set of utilities for working with Bun's package manager. Some subcommands such as pack, pkg have their own usage documentation. More information: <https://bun.com/docs/pm/cli/pm>.Create a tarball of the current workspace:
bun pm packPrint the path to the
bin directory:bun pm binDisplay the default trusted dependencies:
bun pm default-trustedPrint the npm registry username:
bun pm whoamiGenerate and print the hash of the current lockfile:
bun pm hashList the current untrusted dependencies that contain scripts:
bun pm untrustedMigrate another package manager's lockfile without installing anything:
bun pm migrateGet a property from
package.json:bun pm pkg get {{property}}Code Snippets
Create a tarball of the current workspace
bun pm packPrint the path to the `bin` directory
bun pm binDisplay the default trusted dependencies
bun pm default-trustedPrint the npm registry username
bun pm whoamiGenerate and print the hash of the current lockfile
bun pm hashContext
tldr-pages: common/bun pm
Revisions (0)
No revisions yet.