Example .envrc for shells that use direnv.
Section: Team onboarding and automation
Auto-activate with direnv + layout python
bash
bash
layout python python3
Explanation
An optional workflow for automatic environment handling in supported shells.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Team onboarding and automation
Makefile setup target
Automate local environment setup for contributors.
Typical README quick-start block
Copy-paste setup commands for local onboarding.
Create project and venv
Create a project folder and initialize a virtual environment.
Install project editable from pyproject
Install the current project into the venv in editable mode.