---
syntax: markdown
tags: [tldr, android]
source: https://github.com/tldr-pages/tldr.git
---
# pkg

> Package management utility for Termux.
> More information: <https://wiki.termux.com/wiki/Package_Management>.

- Upgrade all installed packages:

`pkg {{[up|upgrade]}}`

- List currently installed packages:

`pkg {{[list-i|list-installed]}}`

- Install a package:

`pkg {{[i|install]}} {{package}}`

- Uninstall a package:

`pkg {{[un|uninstall]}} {{package}}`

- Reinstall a package:

`pkg {{[rei|reinstall]}} {{package}}`

- Search for a package:

`pkg {{[se|search]}} {{package}}`

- Show information about specific package:

`pkg {{[sh|show]}} {{package}}`

- Display help:

`pkg {{[h|help]}}`
