1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:55:23 +02:00
tldr/pages/linux/guix-package.md

29 lines
645 B
Markdown
Raw Normal View History

2018-10-27 00:44:42 +05:30
# 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>.
2018-10-27 00:44:42 +05:30
- Install a new package:
`guix package {{[-i|--install]}} {{package}}`
2018-10-27 00:44:42 +05:30
- Remove a package:
`guix package {{[-r|--remove]}} {{package}}`
2018-10-27 00:44:42 +05:30
- Search the package database for a regular expression:
`guix package {{[-s|--search]}} "{{search_pattern}}"`
2018-10-27 00:44:42 +05:30
- List installed packages:
`guix package {{[-I|--list-installed]}}`
2018-10-27 00:44:42 +05:30
- List generations:
`guix package {{[-l|--list-generations]}}`
2018-10-27 00:44:42 +05:30
- Roll back to the previous generation:
`guix package --roll-back`