uv-version
Read or update a project's version. tldr-pages
On several platforms
Several platforms
Display the current project version
uv versionIdentifySet the project version to a specific value
uv version 1.2.3IdentifyBump the project version using semantic versioning
uv version --bump majorIdentifySimulate a version bump without writing to pyproject.toml
uv version --bump patch --dry-runIdentifyUpdate version for a specific package in a workspace
uv version --package package_name 1.2.3IdentifyDisplay version in JSON format
uv version --output-format jsonIdentify