Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/common/bun-link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# bun link

> Bun command to register the current package as a linkable package.
> More information: <https://bun.com/docs/pm/cli/link>.

- Link the package globally:

`bun link`

- Link a package locally to a project:

`bun link {{package_name}}`

- Link directly from a local path:

`bun link {{path/to/package}}`

- Unlink a package:

`bun unlink {{package_name}}`

- Unlink a global package:

`bun unlink --global {{package_name}}`

- Display help:

`bun link --help`
Loading