Skip to content

Environment variables

Environment variables sit at the top of the config hierarchy — above .devflow.local.yml and .devflow.yml.

VariableDescriptionDefault
DEVFLOW_DISABLED=truedisable devflow entirelyfalse
DEVFLOW_SKIP_HOOKS=trueskip Git-hook executionfalse
DEVFLOW_AUTO_CREATE=falseoverride git.auto_create_on_workspaceconfig value
DEVFLOW_BRANCH_FILTER_REGEX=…override git.workspace_filter_regexconfig value
DEVFLOW_DISABLED_BRANCHES=main,release/*disable for specific workspaces (comma-separated)
DEVFLOW_CURRENT_BRANCH_DISABLED=truedisable for the current workspace onlyfalse
DEVFLOW_CONTEXT_BRANCH=…override the context workspace used as default parent (CI)auto-detected
VariableDescriptionDefault
DEVFLOW_APPROVE_HOOKS=1auto-approve config-file hooks (CI / agent runs)false
DEVFLOW_BACKGROUND_HOOK_TIMEOUT=30seconds to await background: true hooks before CLI exit30

devflow also exports variables into the processes it spawns — shell hook commands, devflow switch -x/--open sessions, and GUI terminals: DEVFLOW_WORKSPACE (raw VCS workspace name), DEVFLOW_WORKSPACE_KEY (backend service/path key), and DEVFLOW_BRANCH (compatibility alias for the raw name). See hooks reference.

VariableDescriptionDefault
DEVFLOW_ZFS_DATASET=…force a specific ZFS datasetauto-detected
VariableDescriptionDefault
VariableDescription
DEVFLOW_SHELL_INTEGRATION=1set by the shell wrapper when invoking devflow; enables DEVFLOW_CD emission paths

AWS credentials for S3 seeding use the standard AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_DEFAULT_REGION (or AWS_REGION) variables.

DEVFLOW_PROXY_DIR optionally isolates the companion’s CA files, PID file and runtime lease. Without it the existing ~/.devflow/proxy location is retained. This does not install or trust a certificate.

Desktop launches may set DEVFLOW_TOOL_PATH to an explicit list of absolute tool directories (separated with the platform PATH separator). These are prepended to the inherited PATH; shell startup files are not evaluated.