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