GUIX(1)

πŸ’… GUIX(1) β€” like, the guix gc manual page, bestie

okay so real talk: this is the manual page for guix gc, part of GNU Guix, and we're on version 1.5.0rc1.47-fc2f5a. It lives in the User Commands section of the manual, and yes it's a whole mood. Sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

guix β€” the manual page for guix gc (GNU Guix) 1.5.0rc1.47-fc2f5a. That's it, that's the name. Short, sweet, iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

guix gc [OPTION]... PATHS...

that's the whole vibe check: you run guix gc, you throw some [OPTION]... at it, you throw some PATHS... at it, and it does garbage-collector things. slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

Invoke the garbage collector. that's literally the one-line summary and honestly? it ate. This is the command that cleans up your store so your disk doesn't have a whole meltdown. no cap.

Here come the flags β€” and bestie, there are a lot of them, so buckle up πŸŽ€

  • -C, --collect-garbage[=MIN] β€” collect at least MIN bytes of garbage. like, at minimum you're getting MIN bytes freed. you set the bar, it clears it πŸ’…
  • -F, --free-space=FREE β€” attempt to reach FREE available space in the store. it's gonna try to get you to FREE free space, okay? that's the goal.
  • -d, --delete-generations[=PATTERN] β€” delete profile generations matching PATTERN. bye bye old generations πŸ‘‹ matching that PATTERN specifically.
  • -D, --delete β€” attempt to delete PATHS. note the word attempt β€” it's trying its best, okay 😭
  • --list-roots β€” list the user's garbage collector roots. these are the things holding your store items hostage (affectionately).
  • --list-busy β€” list store items used by running processes. busy little icons, they're not going anywhere πŸ”₯
  • --optimize β€” optimize the store by deduplicating identical files. same file twice? not on this watch. dedupe era πŸ’–
  • --list-dead β€” list dead paths. rip to those, but they're different πŸ’€
  • --list-live β€” list live paths. these ones are still with us, thriving 🌈
  • --references β€” list the references of PATHS. who do these paths reference? find out.
  • -R, --requisites β€” list the requisites of PATHS. the full requisite list, for your viewing pleasure ✨
  • --referrers β€” list the referrers of PATHS. the reverse direction, bestie. who's referring to these.
  • --derivers β€” list the derivers of PATHS. yes, derivers. it's a word. it's guix. we don't ask questions 🧚
  • --verify[=OPTS] β€” verify the integrity of the store. OPTS is a comma-separated combination of 'repair' and 'contents'. so like, repair, or contents, or both with a comma between β€” your call. integrity check era 🫢
  • --list-failures β€” list cached build failures. yes, guix remembers. it caches the L's 😭
  • --clear-failures β€” remove PATHS from the set of cached failures. forgiveness arc. clean slate πŸŽ€
  • --vacuum-database β€” repack the sqlite database tracking the store using less space. tidy up that sqlite database, she deserves it πŸ’…
  • -h, --help β€” display this help and exit. the classic.
  • -V, --version β€” display version information and exit. also the classic.

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't suffer in silence, bestie β€” report it:


Copyright Β© 2025 the Guix authors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (say it with me β€” no warranty, fr fr, to the extent permitted by law πŸ”₯)


⭐ SEE ALSO ⭐

The full documentation for guix is maintained as a Texinfo manual. If the info and guix programs are properly installed at your site, the command

info guix

should give you access to the complete manual. iykyk πŸ¦‹


okay that's the whole page! this beauty is from GNU, dated January 2026, and it's the GUIX(1) page β€” the guix gc glow-up edition. go forth and collect that garbage, bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from