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

Package: direnv (2.25.2-2 and others)

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, ...

Other Packages Related to direnv

  • depends
  • recommends
  • suggests
  • enhances

Download direnv

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 2.15.2-1 117.7 kB569.0 kB [list of files]
amd64 2.25.2-2 2,077.6 kB6,737.0 kB [list of files]
arm64 2.25.2-2 1,773.8 kB6,208.0 kB [list of files]
armel 2.25.2-2 1,800.7 kB5,725.0 kB [list of files]
armhf 2.25.2-2 1,795.1 kB5,725.0 kB [list of files]
i386 2.25.2-2 1,958.5 kB5,699.0 kB [list of files]
mips64el 2.25.2-2 1,661.1 kB6,816.0 kB [list of files]
mipsel 2.25.2-2 1,687.7 kB6,364.0 kB [list of files]
ppc64 (unofficial port) 2.25.2-2 239.6 kB1,399.0 kB [list of files]
ppc64el 2.25.2-2 1,734.9 kB6,272.0 kB [list of files]
riscv64 (unofficial port) 2.25.2-2 1,907.7 kB6,594.0 kB [list of files]
s390x 2.25.2-2 1,893.9 kB6,659.0 kB [list of files]
sparc64 (unofficial port) 2.17.0-1 121.7 kB769.0 kB [list of files]