-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
questionAsking for clarification or supportAsking for clarification or support
Description
Question
Hi, I came across uv python install --default from #8650 and thought it was a nice feature. I want to use uv to install a single global python automatically on the PATH for a Docker image.
I've installed uv to /usr/local/bin already via:
curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" shHowever, uv python install --default currently does not seem to have a configurable location. It always uses ~/.local/bin unless there's some env var I haven't found yet. Is it possible to change the location for the default symlinks?
I tried UV_INSTALL_DIR, but it is not used here. I know there's also UV_PYTHON_INSTALL_DIR, but that serves a different purpose.
UV_INSTALL_DIR=/usr/local/bin uv python install --default --preview 3.12Platform
RHEL 8, x86_64
Version
uv 0.7.12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionAsking for clarification or supportAsking for clarification or support