Skip to content

direnv integration

Copy page

Workrex uses .workrex.yaml, ~/.config/workrex/config.yaml, and WORKREX_* environment variables. See Configuration.

If your project uses direnv for environment management, you can configure workrex to automatically set it up in new worktrees:

.workrex.yaml
post_create:
- direnv allow
files:
symlink:
- .envrc

See also Using direnv for port isolation in monorepos.