This guide wires up Local (localwp.com) with direnv so your terminal & VS Code always use the correct WordPress environment for each Local site. It includes:
- Installing the Local direnv add‑on from the 1.0.0 release tarball.
- Shell hook instructions for macOS, Windows, and Linux.
When vibe coding in VS Code or similar, AI tends to want to do wp
cli commands, direnv and a correct .envrc will make this possible.