mirror of https://github.com/astral-sh/uv
add instructions for deactivating an environment (#11200)
## Summary Add instructions for deactivating a virtual environment. --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
bb3ffcfe52
commit
f54979f2bc
|
|
@ -81,6 +81,14 @@ The virtual environment can be "activated" to make its packages available:
|
||||||
$ use .venv\Scripts\activate.nu
|
$ use .venv\Scripts\activate.nu
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Deactivating an environment
|
||||||
|
|
||||||
|
To exit a virtual environment, use the `deactivate` command:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ deactivate
|
||||||
|
```
|
||||||
|
|
||||||
## Using arbitrary Python environments
|
## Using arbitrary Python environments
|
||||||
|
|
||||||
Since uv has no dependency on Python, it can install into virtual environments other than its own.
|
Since uv has no dependency on Python, it can install into virtual environments other than its own.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue