Update "Viewing the version" docs (#13241)

Updates this section for

- #12349 
- #13108
This commit is contained in:
Zanie Blue 2025-05-01 07:55:52 -05:00 committed by GitHub
parent a261995449
commit 21b9f62dbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -38,17 +38,20 @@ problem is already solved in a newer version.
To check the installed version:
```console
$ uv version
$ uv self version
```
The following are also valid:
```console
$ uv --version # Same output as `uv version`
$ uv --version # Same output as `uv self version`
$ uv -V # Will not include the build commit and date
$ uv pip --version # Can be used with a subcommand
```
!!! note
Before uv 0.7.0, `uv version` was used instead of `uv self version`.
## Troubleshooting issues
The reference documentation contains a