mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
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>
This commit is contained in:
parent
1f1ec22714
commit
4e14412bb2
1 changed files with 28 additions and 0 deletions
28
pages/common/bpkg.md
Normal file
28
pages/common/bpkg.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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 ...}}`
|
Loading…
Add table
Reference in a new issue