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:
Gregory Power 2025-02-03 17:16:41 -05:00 committed by GitHub
parent bb3ffcfe52
commit f54979f2bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,14 @@ The virtual environment can be "activated" to make its packages available:
$ use .venv\Scripts\activate.nu
```
## Deactivating an environment
To exit a virtual environment, use the `deactivate` command:
```console
$ deactivate
```
## Using arbitrary Python environments
Since uv has no dependency on Python, it can install into virtual environments other than its own.