mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Update environments.md
This commit is contained in:
parent
beae144073
commit
0c90605bd4
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue