HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

uv self — Manage the `uv` executable itself. More information: <https://docs.astral.sh/uv/reference/cli/#uv-se

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theuv selfcommandexecutableitselfclimanagemore

Problem

How to use the uv self command: Manage the uv executable itself. More information: <https://docs.astral.sh/uv/reference/cli/#uv-self>.

Solution

uv self — Manage the uv executable itself. More information: <https://docs.astral.sh/uv/reference/cli/#uv-self>.

Update uv to the latest version:
uv self update


Update uv to a specific version:
uv self update {{0.4.0}}


Check for available uv updates without installing:
uv self update --dry-run


Update uv with verbose output:
uv self update {{[-v|--verbose]}}


Display the current uv version:
uv self version


Display only the version number:
uv self version --short


Display version information in JSON format:
uv self version --output-format json

Code Snippets

Update `uv` to the latest version

uv self update

Update `uv` to a specific version

uv self update {{0.4.0}}

Check for available `uv` updates without installing

uv self update --dry-run

Update `uv` with verbose output

uv self update {{[-v|--verbose]}}

Display the current `uv` version

uv self version

Context

tldr-pages: common/uv self

Revisions (0)

No revisions yet.