mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 10:58:58 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/bun-link
Normal file
33
tldr/bun-link
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user