From f87a76287a5fe7c8f377a5fd23a6156eb4bc5188 Mon Sep 17 00:00:00 2001 From: Gregory Power <31050507+gregorywaynepower@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:12:57 -0500 Subject: [PATCH 1/2] docs: add instructions on deactivating environment --- docs/pip/environments.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/pip/environments.md b/docs/pip/environments.md index 2d6ed3bbac5f..0292709ce890 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 + +If you need 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. From 114bae09e86b58c29baf0dd3400ad894d59591e8 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 3 Feb 2025 16:15:46 -0600 Subject: [PATCH 2/2] Update docs/pip/environments.md --- docs/pip/environments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pip/environments.md b/docs/pip/environments.md index 0292709ce890..1fcdc40ed921 100644 --- a/docs/pip/environments.md +++ b/docs/pip/environments.md @@ -83,7 +83,7 @@ The virtual environment can be "activated" to make its packages available: ## Deactivating an environment -If you need to exit a virtual environment use the `deactivate` command. +To exit a virtual environment, use the `deactivate` command: ```console $ deactivate