The Flox Direnv intigation can be installed in the following ways.
By using Direnv's source_url:
source_url "https://raw.githubusercontent.com/flox/flox-direnv/v1.1.0/direnv.rc" 'sha256-c2YCane8WGmYeCDc9wIZyVL8AgbdfhPaEoM+5aFuysw='By copying the direnv.rc file into the ~/.config/direnv/lib/ directory
$ curl -o "${HOME}/.config/direnv/lib/flox-direnv.sh" "https://raw.githubusercontent.com/flox/flox-direnv/v1.1.0/direnv.rc" Add the following to your project's .envrc file.
$ echo 'use flox' >> .envrcIf you'd like to use a FloxHub environment instead of the local one, populate your .envrc as follows.
$ echo 'use flox -r=<owner>/<name>' >> .envrcAnd to trust the FloxHub envrionment explicitly.
$ echo 'use flox --trust -r=<owner>/<name>' >> .envrc...