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
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.
- Website: https://direnv.net/
- Licenses: Expat
- Package source: gnu/packages/shellutils.scm
- Builds: See build status
- Issues: See known issues
direnv 2.32.2 as follows:
guix install firstname.lastname@example.org
Or install the latest version:
guix install direnv
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.