poetry-env: change virtualenv verbiage (#18056)

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
Shelly David
2025-09-15 23:38:54 -04:00
committed by GitHub
parent 7f02b80098
commit 2b75b5a536
+15 -7
View File
@@ -1,25 +1,33 @@
# poetry-env
> Manage virtualenvs associated with a Poetry project.
> Manage virtual environments associated with a Poetry project.
> See also: `asdf`.
> More information: <https://python-poetry.org/docs/cli/#env>.
- Print the command to activate a virtualenv:
- Print the command to activate a virtual environment:
`poetry env activate`
- Display information about the current environment (-p or -e will display the environment's path or executable):
- Display information about the current environment:
`poetry env info {{[-p|--path]}} {{[-e|--executable]}}`
`poetry env info`
- List all virtualenvs associated with the current project (optionally showing the full path):
- Display the path of the current environment:
`poetry env info {{[-p|--path]}}`
- Display the path of the current environment's Python executable:
`poetry env info {{[-e|--executable]}}`
- List all virtual environments associated with the current project (optionally showing the full path):
`poetry env list --full-path`
- Remove specific or all virtualenvs associated with the current project:
- Remove specific or all virtual environments associated with the current project:
`poetry env remove python {{path/to/executable|environment_name}} | poetry env remove --all`
- Activate or create a virtualenv for the project using the specified python executable:
- Activate or create a virtual environment for the project using the specified Python executable:
`poetry env use python {{path/to/executable}}`