SV
Switch golang version
SV is a lightweight and beautiful Go Version Manager
English | 中文

🏆 Purpose
Allows you to easily build and switch different Golang versions
⬇️️ Install
Linux / macOS
curl -sL https://raw.githubusercontent.com/voocel/sv/main/install.sh | sh
Windows (PowerShell)
irm https://raw.githubusercontent.com/voocel/sv/main/install.ps1 | iex
After installation, open a new terminal for the changes to take effect.
PowerShell note: sv is a built-in PowerShell alias for Set-Variable, which would shadow sv.exe. The installer overrides it in your PowerShell profile automatically; cmd and Git Bash need nothing.
🔥 Features
- List local or remote all versions (type
/ to filter)
- Install a specific version
- Uninstall a specific version
- Quickly switch local versions
- Pretty download progress bar
- Concurrent download with resume support
- SHA256 checksum verification for every download
- No admin rights required, including on Windows
- Prune old versions
- Check for outdated versions
- Self upgrade and self uninstall
🌲 Usage
List and select a version to install
sv list # local versions
sv list -r # remote versions
Install specific version
sv install 1.23.4
sv install --latest # install latest stable version
Switch to a version
sv use 1.23.4
Uninstall specific version
sv uninstall 1.18.1
Other 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 versions
💡License
Copyright © 2016–2026
Licensed under Apache License 2.0
🙋 Contributing
Welcome! Welcome!