mirror of https://github.com/astral-sh/uv
Document the tools directory (#6228)
As in https://github.com/astral-sh/uv/pull/6227
This commit is contained in:
parent
b7c9ad981d
commit
cc8fbedd37
|
|
@ -2713,11 +2713,15 @@ pub enum ToolCommand {
|
||||||
UpdateShell,
|
UpdateShell,
|
||||||
/// Show the path to the uv tools directory.
|
/// Show the path to the uv tools directory.
|
||||||
///
|
///
|
||||||
/// The tools directory is used to store environments and metadata for
|
/// The tools directory is used to store environments and metadata for installed tools.
|
||||||
/// installed tools.
|
|
||||||
///
|
///
|
||||||
/// To instead view the directory uv installs executables into, use the
|
/// By default, tools are stored in the uv data directory at `$XDG_DATA_HOME/uv/tools` or
|
||||||
/// `--bin` flag.
|
/// `$HOME/.local/share/uv/tools` on Unix and `{FOLDERID_RoamingAppData}\uv\data\tools` on
|
||||||
|
/// Windows.
|
||||||
|
///
|
||||||
|
/// The tool installation directory may be overridden with `$UV_TOOL_DIR`.
|
||||||
|
///
|
||||||
|
/// To instead view the directory uv installs executables into, use the `--bin` flag.
|
||||||
Dir(ToolDirArgs),
|
Dir(ToolDirArgs),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2757,6 +2757,10 @@ Show the path to the uv tools directory.
|
||||||
|
|
||||||
The tools directory is used to store environments and metadata for installed tools.
|
The tools directory is used to store environments and metadata for installed tools.
|
||||||
|
|
||||||
|
By default, tools are stored in the uv data directory at `$XDG_DATA_HOME/uv/tools` or `$HOME/.local/share/uv/tools` on Unix and `{FOLDERID_RoamingAppData}\uv\data\tools` on Windows.
|
||||||
|
|
||||||
|
The tool installation directory may be overridden with `$UV_TOOL_DIR`.
|
||||||
|
|
||||||
To instead view the directory uv installs executables into, use the `--bin` flag.
|
To instead view the directory uv installs executables into, use the `--bin` flag.
|
||||||
|
|
||||||
<h3 class="cli-reference">Usage</h3>
|
<h3 class="cli-reference">Usage</h3>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue