Switch golang version
SV is a lightweight and beautiful Go Version Manager
English | 中文
Allows you to easily build and switch different Golang versions
curl -sL https://raw.githubusercontent.com/voocel/sv/main/install.sh | shirm https://raw.githubusercontent.com/voocel/sv/main/install.ps1 | iexAfter installation, open a new terminal for the changes to take effect.
- List local or remote all versions
- Install a specific version
- Uninstall a specific version
- Quickly switch local versions
- Pretty download progress bar
- Resume interrupted downloads
- Prune old versions
- Check for outdated versions
List and select a version to install
sv list # local versions
sv list -r # remote versionsInstall specific version
sv install 1.23.4
sv install --latest # install latest stable versionSwitch to a version
sv use 1.23.4Uninstall specific version
sv uninstall 1.18.1Other commands
sv current # show current active version
sv latest # show latest available version
sv outdated # check if installed versions are outdated
sv where 1.23.4 # show installation path
sv prune # remove old versions, keep recent ones
sv self upgrade # upgrade sv itself
sv self uninstall # uninstall sv and all Go versionsCopyright © 2016–2025
Licensed under Apache License 2.0
Welcome! Welcome!