1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 21:42:08 +02:00
tldr/pages/common/bpkg.md
Vitor Henrique 4e14412bb2
bpkg: add page (#12475)
* bpkg: add page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
2024-03-08 19:35:05 +05:30

28 lines
571 B
Markdown

# bpkg
> A package manager for Bash scripts.
> More information: <https://github.com/bpkg/bpkg>.
- Update the local index:
`bpkg update`
- Install a package globally:
`bpkg install --global {{package}}`
- Install a package in a subdirectory of the current directory:
`bpkg install {{package}}`
- Install a specific version of a package globally:
`bpkg install {{package}}@{{version}} -g`
- Show details about a specific package:
`bpkg show {{package}}`
- Run a command, optionally specifying its arguments:
`bpkg run {{command}} {{argument1 argument2 ...}}`