Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List UV venv's and current venv #11657

Closed
oliverangelil opened this issue Feb 20, 2025 · 2 comments
Closed

List UV venv's and current venv #11657

oliverangelil opened this issue Feb 20, 2025 · 2 comments
Labels
question Asking for clarification or support

Comments

@oliverangelil
Copy link

Question

How can I list all the available uv venvs and also show the venv currently activated?

Platform

Debian GNU/Linux 12 (bookworm)

Version

uv 0.6.2

@oliverangelil oliverangelil added the question Asking for clarification or support label Feb 20, 2025
@konstin
Copy link
Member

konstin commented Feb 20, 2025

uv does not keep track of the created venvs, so it can't tell you which venvs exist. The currently activate venv should be shown in your terminal promt, otherwise which python will point your to the active Python interpreter.

@zanieb
Copy link
Member

zanieb commented Feb 20, 2025

You can also use uv python find to find the interpreter uv would use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support
Projects
None yet
Development

No branches or pull requests

3 participants