The installation has two parts.
direnv is packaged for a variety of systems:
To install binary builds you can run this bash installer:
curl -sfL https://direnv.net/install.sh | bash
Binary builds for a variety of architectures are also available for each release.
Fetch the binary,
chmod +x direnv and put it somewhere in your PATH.
See the Development page.