← 返回命令列表

Linux command

uv-self 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Update uv to the latest version

uv self update

Update uv to a specific version

uv self update [0.6.0]

Uninstall uv

uv self uninstall

说明

uv self manages the uv installation itself. Use to update uv to the latest version, update to a specific version, or uninstall uv entirely. The update command downloads the new binary and replaces the current installation in place.

参数

update
Update uv to the latest version, or to a specified version.
uninstall
Uninstall uv.
--target-version _version_
Update to a specific version (used with update subcommand).

FAQ

What is the uv-self command used for?

uv self manages the uv installation itself. Use to update uv to the latest version, update to a specific version, or uninstall uv entirely. The update command downloads the new binary and replaces the current installation in place.

How do I run a basic uv-self example?

Run `uv self update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does update do in uv-self?

Update uv to the latest version, or to a specified version.