if [ -d .venv ]; then source $(poetry env info --path)/bin/activate else poetry install source $(poetry env info --path)/bin/activate fi