all options
jessie  ] [  stretch  ] [  buster  ] [  bullseye  ] [  sid  ]
[ Source: direnv  ]

Package: direnv (2.18.2-2)

Links for direnv


Debian Resources:

Download Source Package direnv:


External Resources:

Similar packages:

Utility to set directory specific environment variables

direnv is an environment variable manager for your shell. It knows how to hook into bash, zsh and fish shell to load or unload environment variables depending on your current directory. This allows one to have project-specific environment variables and not clutter the "~/.profile" file.

Before each prompt it checks for the existence of an ".envrc" file in the current and parent directories. If the file exists, it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to your shell.

Because direnv is compiled into a single static executable it is fast enough to be unnoticeable on each prompt. It is also language agnostic and can be used to build solutions similar to rbenv, pyenv, phpenv, ...

Download direnv

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 1,058.6 kB3,433.0 kB [list of files]
arm64 919.0 kB3,269.0 kB [list of files]
armel 934.8 kB2,991.0 kB [list of files]
armhf 929.7 kB2,991.0 kB [list of files]
i386 1,012.9 kB2,958.0 kB [list of files]
mips 855.6 kB3,323.0 kB [list of files]
mips64el 874.4 kB3,670.0 kB [list of files]
mipsel 873.4 kB3,323.0 kB [list of files]
ppc64el 914.2 kB3,397.0 kB [list of files]
s390x 988.2 kB3,589.0 kB [list of files]