All apps/direnv

direnv

direnv

An environment switcher for the shell, loading and unloading variables as you change directory.

Runs as direnv|macOS, Linux|direnv.net

Autocomplete

Fig spec, with what the manifest adds · 21 subcommands · 2 options
Published once and never changed; check the digest before caching
sha256
ed55b9ac3785e4cd276bfa277763ef95dd70e89716a265c2dd5b6a13d9b718a2
Size
6829 bytes
Subcommands21 subcommands
direnv allow
Grants direnv to load the given .envrc
direnv deny
Revokes the authorization of a given .envrc
direnv edit
Opens PATH_TO_RC or the current .envrc into an $EDITOR and allow the file to be loaded afterwards
direnv exec
Executes a command after loading the first .envrc found in DIR
direnv fetchurl
Fetches a given URL into direnv's CAS
direnv help
Help for direnv
direnv hook
Used to setup the shell hook
direnv prune
Removes old allowed files
direnv reload
Triggers an env reload
direnv status
Prints some debug status information
direnv stdlib
Displays the stdlib available in the .envrc execution context
direnv version
Prints the version or checks that direnv is older than VERSION_AT_LEAST
direnv apply_dump
Accepts a filename containing `direnv dump` output and generates a series of bash export statements to apply the given env
direnv show_dump
Show the data inside of a dump for debugging purposes
direnv dotenv
Transforms a .env file to evaluatable `export KEY=PAIR` statements
direnv dump
Used to export the inner bash state at the end of execution
direnv export
Loads an .envrc and prints the diff in terms of exports
direnv watch
Adds a path to the list that direnv watches for changes
direnv watch-dir
Recursively adds a directory to the list that direnv watches for changes
direnv watch-list
Pipe pairs of `mtime path` to stdin to build a list of files to watch
direnv current
Reports whether direnv's view of a file is current (or stale)
OptionsOn direnv itself
--version
Prints the version or checks that direnv is older than VERSION_AT_LEAST <VERSION_AT_LEAST>
--help
Help for direnv <SHOW_PRIVATE>