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)