GUIX(1)

πŸ’… GUIX(1) πŸ’…

okay bestie, welcome to the GUIX(1) page in the User Commands section β€” it’s the manual page for guix environment from GNU Guix 1.5.0rc1.47-fc2f5a πŸ’–


πŸ’– NAME πŸ’–

guix β€” the manual page for guix environment (GNU Guix) 1.5.0rc1.47-fc2f5a. This is the one that builds you an environment with PACKAGE’s dependencies and then runs COMMAND β€” or hands you an interactive shell β€” inside it. slay.


🌸 SYNOPSIS 🌸

guix environment [OPTION]... PACKAGE... [-- COMMAND...]

✨ DESCRIPTION ✨

Build an environment that includes the dependencies of PACKAGE and execute COMMAND or an interactive shell in that environment. no cap, that’s the whole vibe check.

Okay so here’s every single option, bestie β€” in order, no skips, no β€œoops I forgot one” energy:

  • -l, --load=FILE β€” create an environment for the package that the code within FILE evaluates to ✨
  • --ad-hoc β€” include all specified packages in the environment instead of only their inputs πŸ’…
  • -e, --expression=EXPR β€” create an environment for the package that EXPR evaluates to πŸŽ€
  • -m, --manifest=FILE β€” create the environment with the manifest from FILE πŸ“„
  • -p, --profile=PATH β€” create the environment from the profile at PATH πŸ¦‹
  • --check β€” check if the shell clobbers environment variables πŸ‘€
  • --pure β€” unset existing environment variables 🧼
  • -E, --preserve=REGEXP β€” preserve environment variables that match REGEXP 🫢
  • --search-paths β€” display needed environment variable definitions 🌈
  • -r, --root=FILE β€” make FILE a symlink to the result, and register it as a garbage collector root πŸ”₯
  • -C, --container β€” run command within an isolated container πŸ“¦
  • -N, --network β€” allow containers to access the network 🌐
  • -P, --link-profile β€” link the environment profile to ~/.guix-profile within an isolated container πŸ”—
  • -W, --nesting β€” make Guix available within the container πŸͺ†
  • -u, --user=USER β€” instead of copying the name and home directory of the current user into an isolated container, use the name USER with home directory /home/USER πŸ‘‘
  • --no-cwd β€” do not share the current working directory with an isolated container πŸ™ˆ
  • --writable-root β€” make the container’s root file system writable ✍️
  • --share=SPEC β€” for containers, share writable host file system according to SPEC 🀝
  • --expose=SPEC β€” for containers, expose read-only host file system according to SPEC πŸ‘οΈ
  • -S, --symlink=SPEC β€” for containers, add symlinks to the profile according to SPEC, e.g. "/usr/bin/env=bin/env". πŸͺ„
  • -v, --verbosity=LEVEL β€” use the given verbosity LEVEL πŸ—£οΈ
  • --bootstrap β€” use bootstrap binaries to build the environment πŸ₯Ύ
  • -L, --load-path=DIR β€” prepend DIR to the package module search path πŸ“š
  • -K, --keep-failed β€” keep the build tree of failed builds πŸ’€
  • -k, --keep-going β€” keep going when some of the derivations fail πŸš€
  • -n, --dry-run β€” do not build the derivations πŸ§ͺ
  • --fallback β€” fall back to building when the substituter fails πŸͺ‚
  • --no-substitutes β€” build instead of resorting to pre-built substitutes πŸ› οΈ
  • --substitute-urls=URLS β€” fetch substitute from URLS if they are authorized πŸ”
  • --no-grafts β€” do not graft packages 🌿
  • --no-offload β€” do not attempt to offload builds 🚫
  • --max-silent-time=SECONDS β€” mark the build as failed after SECONDS of silence 🀫
  • --timeout=SECONDS β€” mark the build as failed after SECONDS of activity ⏰
  • --rounds=N β€” build N times in a row to detect non-determinism πŸ”
  • -c, --cores=N β€” allow the use of up to N CPU cores for the build 🧠
  • -M, --max-jobs=N β€” allow at most N build jobs πŸ—οΈ
  • --debug=LEVEL β€” produce debugging output at LEVEL πŸ›
  • --list-systems β€” list available systems πŸ–₯️
  • -s, --system=SYSTEM β€” attempt to build for SYSTEM--e.g., "i686-linux" 🎯
  • --help-transform β€” list package transformation options not shown here πŸ”
  • -h, --help β€” display this help and exit 🫑
  • -V, --version β€” display version information and exit 🏷️

😭 REPORTING BUGS 😭

Found a bug? Do not suffer in silence, bestie.


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. literally important, don’t skip that part πŸ’€


πŸ¦‹ 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 bye bestie πŸ’– β€” this page was brought to you by source/version GNU, date January 2026, and title GUIX(1). mwah 🫢

πŸ“¦ where this page comes from