direnv v2.38.2
Usage: direnv COMMAND [...ARGS]
Available commands
------------------
allow [PATH_TO_RC]:
aliases: permit, grant
Grants direnv permission to load the given .envrc or .env file.
block [PATH_TO_RC]:
aliases: deny, disallow, revoke
Revokes the authorization of a given .envrc or .env file.
edit [PATH_TO_RC]:
Opens PATH_TO_RC or the current .envrc or .env into an $EDITOR and allow
the file to be loaded afterwards.
exec DIR COMMAND [...ARGS]:
Executes a command after loading the first .envrc or .env found in DIR
export SHELL:
Loads an .envrc or .env and prints the diff in terms of exports.
Supported SHELL values are: [pwsh, fish, json, murex, zsh, systemd, bash, elvish, gha, gzenv, tcsh, vim]
fetchurl <url> [<integrity-hash>]:
Fetches a given URL into direnv's CAS
help [SHOW_PRIVATE]:
Shows this help
hook SHELL:
Used to setup the shell hook
prune:
Removes old allowed and required files
reload:
Triggers an env reload
status [--json]:
Prints some debug status information
stdlib:
Displays the stdlib available in the .envrc execution context
version [VERSION_AT_LEAST]:
prints the version or checks that direnv is no older than VERSION_AT_LEAST.
log [--status | --error] <message>:
Logs a given message
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.