1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-09 18:25:24 +02:00
tldr/pages/linux/guix-package.md

28 lines
645 B
Markdown

# guix package
> Install, upgrade and remove Guix packages, or rollback to previous configurations.
> More information: <https://guix.gnu.org/manual/html_node/Invoking-guix-package.html>.
- Install a new package:
`guix package {{[-i|--install]}} {{package}}`
- Remove a package:
`guix package {{[-r|--remove]}} {{package}}`
- Search the package database for a regular expression:
`guix package {{[-s|--search]}} "{{search_pattern}}"`
- List installed packages:
`guix package {{[-I|--list-installed]}}`
- List generations:
`guix package {{[-l|--list-generations]}}`
- Roll back to the previous generation:
`guix package --roll-back`