How To Install Direnv On Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS?

How To Install Direnv On Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS?

direnv

Utility to set directory specific environment variables

Maintainer: Punit Agrawal



Section: utils

Install direnv

  • Debian apt-get install direnv Click to copy
  • Ubuntu apt-get install direnv Click to copy
  • Kali Linux apt-get install direnv Click to copy
  • Fedora dnf install direnv Click to copy
  • Raspbian apt-get install direnv Click to copy
  • macOS brew install direnv Click to copy
To install the latest version of direnv in your favorite operating system just copy the direnv installation command from above and paste it into terminal. It will download and install the latest version of direnv 2026 package in your OS.