Update environments.md

This commit is contained in:
stevenae 2025-06-03 11:21:17 -04:00 committed by GitHub
parent beae144073
commit 0c90605bd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,16 +15,16 @@ uv supports creating virtual environments, e.g., to create a virtual environment
$ uv venv
```
!!! note
Running `uv venv` will overwrite any existing `.venv` directory.
A specific name or path can be specified, e.g., to create a virtual environment at `my-name`:
```console
$ uv venv my-name
```
!!! note
Running `uv venv` will overwrite any existing virtual environment in the `.venv` directory. Specifying `my-name` will overwrite any existing virtual environment in the `my-name` directory.
A Python version can be requested, e.g., to create a virtual environment with Python 3.11:
```console