uv-venv
Create an isolated Python environment for installing packages. tldr-pages
On several platforms
Several platforms
Create a virtual environment in the default location (.venv)
uv venvIdentifyCreate a virtual environment at a specific path
uv venv path/to/venvIdentifyCreate using a specific Python version
uv venv --python 3.12IdentifyInclude seed packages such as pip when creating the virtual environment
uv venv --seedIdentifyCreate with a custom prompt prefix
uv venv --prompt my_projectIdentifyCreate and allow overwriting existing environment
uv venv --allow-existing venv_nameIdentify