You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/cli.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4302,11 +4302,11 @@ Download and install Python versions.
4302
4302
4303
4303
Multiple Python versions may be requested.
4304
4304
4305
-
Supports CPython and PyPy.
4305
+
Supports CPython and PyPy. CPython distributions are downloaded from the `python-build-standalone` project. PyPy distributions are downloaded from `python.org`.
4306
4306
4307
-
CPython distributions are downloaded from the `python-build-standalone` project.
4307
+
Python versions are installed into the uv Python directory, which can be retrieved with `uv python dir`.
4308
4308
4309
-
Python versions are installed into the uv Python directory, which can be retrieved with `uv python dir`. A `python` executable is not made globally available, managed Python versions are only used in uv commands or in active virtual environments.
4309
+
A `python` executable is not made globally available, managed Python versions are only used in uv commands or in active virtual environments. There is experimental support for adding Python executables to the `PATH` — use the `--preview` flag to enable this behavior.
4310
4310
4311
4311
See `uv help python` to view supported request formats.
4312
4312
@@ -4705,6 +4705,8 @@ uv python dir [OPTIONS]
4705
4705
4706
4706
<dlclass="cli-reference"><dt><code>--bin</code></dt><dd><p>Show the directory into which <code>uv python</code> will install Python executables.</p>
4707
4707
4708
+
<p>Note this directory is only used when installing with preview mode enabled.</p>
4709
+
4708
4710
<p>By default, <code>uv python dir</code> shows the directory into which the Python distributions themselves are installed, rather than the directory containing the linked executables.</p>
4709
4711
4710
4712
<p>The Python executable directory is determined according to the XDG standard and is derived from the following environment variables, in order of preference:</p>
0 commit comments