GUIX(1)
π¦ GUIX(1) β the guix shell glow-up guide π¦
okay bestie, so this is the manual page for guix shell from GNU Guix, version 1.5.0rc1.47-fc2f5a. it lives in the User Commands section (section 1, obviously), and it's basically the group-chat invite to a whole build environment. let's get into it π
β¨ NAME β¨
guix β manual page for guix shell (GNU Guix) 1.5.0rc1.47-fc2f5a
β¨ SYNOPSIS β¨
guix shell [OPTION] PACKAGES... [-- COMMAND...]
β¨ DESCRIPTION β¨
Bestie, listen. guix shell builds an environment that includes PACKAGES, and then it either executes COMMAND in that environment or drops you into an interactive shell inside it. it's giving "custom little world, just for you" energy, no cap. π
π OPTIONS π
-D,--developmentβ pulls in the development inputs of the next package. yes, "next" β the flag is doing a little lookahead, icon behavior honestly.-f,--file=FILEβ adds to the environment the package thatFILEevaluates to.-qβ inhibits loading ofguix.scmandmanifest.scm. short flag, big "not now" energy.--rebuild-cacheβ rebuilds the cached environment, if there is one.--export-manifestβ prints a manifest for the options you gave. it's like receipts, but for your environment.-F,--emulate-fhsβ for containers: emulate the Filesystem Hierarchy Standard (FHS).-e,--expression=EXPRβ creates an environment for the package thatEXPRevaluates to.-m,--manifest=FILEβ creates an environment using the manifest fromFILE.-p,--profile=PATHβ creates an environment from the profile atPATH.--checkβ checks if the shell clobbers environment variables. lowkey a vibe check for your env vars π--pureβ unsets existing environment variables. clean slate, main character energy.-E,--preserve=REGEXPβ preserves environment variables that matchREGEXP. keeping the ones that matter π«Ά--search-pathsβ displays the needed environment variable definitions.-r,--root=FILEβ makesFILEa symlink to the result, and registers it as a garbage collector root. it's a permanent bookmark, fr fr.-C,--containerβ runs the command inside an isolated container π«§-N,--networkβ lets containers access the network.-P,--link-profileβ links the environment profile to~/.guix-profileinside an isolated container.-W,--nestingβ makes Guix available inside the container. guix within guix, it's giving inception π-u,--user=USERβ instead of copying the name and home of the current user into an isolated container, uses the nameUSERwith home directory/home/USER.--no-cwdβ does not share the current working directory with an isolated container.--writable-rootβ makes the container's root file system writable. handle with care, bestie.--share=SPECβ for containers: shares a writable host file system according toSPEC.--expose=SPECβ for containers: exposes a read-only host file system according toSPEC.-S,--symlink=SPECβ for containers: adds symlinks to the profile according toSPEC, e.g."/usr/bin/env=bin/env". cute little shortcut portals β¨-v,--verbosity=LEVELβ uses the given verbosityLEVEL.--bootstrapβ uses bootstrap binaries to build the environment.-L,--load-path=DIRβ prependsDIRto the package module search path.-K,--keep-failedβ keeps the build tree of failed builds. forensic queen behavior π-k,--keep-goingβ keeps going when some of the derivations fail. resilience, honestly.-n,--dry-runβ does not build the derivations. just looking, not touching π--fallbackβ falls back to building when the substituter fails.--no-substitutesβ builds instead of resorting to pre-built substitutes.--substitute-urls=URLSβ fetches substitutes fromURLSif they are authorized.--no-graftsβ does not graft packages.--no-offloadβ does not attempt to offload builds.--max-silent-time=SECONDSβ marks the build as failed afterSECONDSof silence. the "say something challenge" π--timeout=SECONDSβ marks the build as failed afterSECONDSof activity.--rounds=Nβ buildsNtimes in a row to detect non-determinism. consistency check, we love to see it.-c,--cores=Nβ allows the use of up toNCPU cores for the build.-M,--max-jobs=Nβ allows at mostNbuild jobs.--debug=LEVELβ produces debugging output atLEVEL.--list-systemsβ lists available systems.-s,--system=SYSTEMβ attempts to build forSYSTEMβ e.g.,"i686-linux".--help-transformβ lists package transformation options that are not shown here. yes there's more, iykyk.-h,--helpβ displays this help and exits.-V,--versionβ displays version information and exits.
π REPORTING BUGS π
Found a bug? Bestie, report it, don't just suffer in silence:
- Report bugs to: <https://codeberg.org/guix/guix/issues/>
- GNU Guix home page: <https://www.gnu.org/software/guix/>
- General help using Guix and GNU software: <https://guix.gnu.org/en/help/>
π COPYRIGHT π
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. like, none. zero. don't come for them if it breaks, that's the deal π
πΈ 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, then this command:
info guix
should give you access to the complete manual. go read it, it's iconic π
and that's the whole page, bestie π«Ά β this was GUIX(1), brought to you by GNU, dated January 2026, and we are obsessed. β¨π
π¦ where this page comes from
- alpine 3.24: guix-doc 1.5.0-r2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms