Vscode and wp-cli

@emmtre 's solution is cool! Another option that we’ve thought about implementing in Local core is to use direnv.

You can still use direnv with Local (and any terminal, including VS Code) today with an addon!

Clay, the original author of Local (Pressmatic) created this addon which adds the .envrc needed for direnv to the <site>/app/ folder.

You can download that addon and install it from “Addons > Installed > Install from disk” in Local:

5 Likes