direnv edit .envrc

Category: Web App Development

direnv edit .envrc

Edit the .envrc file and reload it

Opens .envrc in your editor and marks it allowed afterwards, skipping the separate allow step. direnv watches the file and loads the new environment on the next prompt. Combine with direnv status to debug why variables are missing.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.