snippetbashTip
bun link — Register a local package as linkable or link a registered package into a project. See also: `bun unl
Viewed 0 times
bun linkcommandlocallinklinkablecliregisterpackage
Problem
How to use the
bun link command: Register a local package as linkable or link a registered package into a project. See also: bun unlink. More information: <https://bun.com/docs/pm/cli/link>.Solution
bun link — Register a local package as linkable or link a registered package into a project. See also: bun unlink. More information: <https://bun.com/docs/pm/cli/link>.Link the current package globally:
bun linkLink a package locally to a project:
bun link {{package_name}}Link a package in a specific directory:
bun link --cwd {{path/to/package}}Perform a dry run without actually linking:
bun link --dry-runDisplay help:
bun link {{[-h|--help]}}Code Snippets
Link the current package globally
bun linkLink a package locally to a project
bun link {{package_name}}Link a package in a specific directory
bun link --cwd {{path/to/package}}Perform a dry run without actually linking
bun link --dry-runDisplay help
bun link {{[-h|--help]}}Context
tldr-pages: common/bun link
Revisions (0)
No revisions yet.