List installed Go versions and available versions from the official Go download server.
gvm list
gvm list --all
The list command displays all Go versions that are currently installed on your system. When used with the --all
flag, it also shows available versions that can be installed.
gvm list
Output:
OS: linux ARCH: amd64
Installed Versions
go1.21.0 ← default
go1.20.5
go1.19.10
gvm list --all
Output:
OS: linux ARCH: amd64
Installed Versions
go1.21.0 ← default
go1.20.5
go1.19.10
Available Versions
go1.21.1
go1.21.0
go1.20.10
go1.20.9
...
Flag | Short | Description |
---|---|---|
--all |
-a |
List all available versions from the Go download server |
The list command displays:
← default
--all
)The command automatically filters available versions based on: