Poetry has the version
command to increment a package version. Does the uv package manager have anything similar?
This feature has been introduced with the release of uv
0.7.0. Especially, uv version
now can be used to inspect and bump a project's version.
Show current version.
$ uv version
stack-example 1.2.3
Bump patch / minor / major version.
$ uv version --bump patch
stack-example 1.2.3 => 1.2.4
$ uv version --bump minor
stack-example 1.2.4 => 1.3.0
$ uv version --bump major
stack-example 1.3.0 => 2.0.0
Show version of uv
itself (previously by running uv version
).
$ uv self version
uv 0.7.1 (90f46f89a 2025-04-30)