# Make sure your python version is <= 3.12 when creating the virtual environment
# or use another way to get the specific python version
python3 -m venv venv
source ./venv/bin/activate
/opt/homebrew/bin/python3.12 -m venv venv
source ./venv/bin/activate
Add a .envrc file to the root directory to automatically load the environment variables from the .env file.
echo "source ./venv/bin/activate" > .envrc
direnv allow