This package browser is in early development. Mind the rough edges.


Environment switcher for the shell

direnv can hook into the bash, zsh, tcsh, and fish shells to load or unload environment variables depending on the current directory. This allows project-specific environment variables without using ~/.profile.

Before each prompt, direnv checks for the existence of a .envrc file in the current and parent directories. This file is then used to alter the environment variables of the current shell.


Install the latest version of direnv as follows:

guix install direnv

Or install a particular version:

guix install direnv@2.32.2

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.