Skip to content

Instantly share code, notes, and snippets.

@zkurtz
Last active January 25, 2025 14:43
Minimal virtual environment

Clone a repo, cd into it, and then

# install uv at the system level
pip install uv

# create your virtual environment
uv sync --all-groups --all-extras

# use it
source .venv/bin/activate

# not technically part of the venv, but an easily forgotten step that usually applies here:
pre-commit install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment