From f54979f2bc8b0124cffb40db057ae1acd58fe337 Mon Sep 17 00:00:00 2001 From: Gregory Power <31050507+gregorywaynepower@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:16:41 -0500 Subject: [PATCH] add instructions for deactivating an environment (#11200) ## Summary Add instructions for deactivating a virtual environment. --------- Co-authored-by: Zanie Blue --- docs/pip/environments.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/pip/environments.md b/docs/pip/environments.md index 2d6ed3bba..1fcdc40ed 100644 --- a/docs/pip/environments.md +++ b/docs/pip/environments.md @@ -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.