mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 05:51:29 +00:00
Update cheatsheets
This commit is contained in:
33
linux/guix-package
Normal file
33
linux/guix-package
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 {{package}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`guix package -r {{package}}`
|
||||
|
||||
- Search the package database for a regular expression:
|
||||
|
||||
`guix package -s "{{search_pattern}}"`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`guix package -I`
|
||||
|
||||
- List generations:
|
||||
|
||||
`guix package -l`
|
||||
|
||||
- Roll back to the previous generation:
|
||||
|
||||
`guix package --roll-back`
|
||||
Reference in New Issue
Block a user