Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-29 00:23:53 +00:00
parent 262de4bc4f
commit 65da745d60
15 changed files with 216 additions and 23 deletions

View File

@@ -5,10 +5,11 @@ source: https://github.com/tldr-pages/tldr.git
---
# bun link
> Bun command to register the current package as a linkable package.
> 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 package globally:
- Link the current package globally:
`bun link`
@@ -16,18 +17,14 @@ source: https://github.com/tldr-pages/tldr.git
`bun link {{package_name}}`
- Link directly from a local path:
- Link a package in a specific directory:
`bun link {{path/to/package}}`
`bun link --cwd {{path/to/package}}`
- Unlink a package:
- Perform a dry run without actually linking:
`bun unlink {{package_name}}`
- Unlink a global package:
`bun unlink --global {{package_name}}`
`bun link --dry-run`
- Display help:
`bun link --help`
`bun link {{[-h|--help]}}`