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.
🔥 Features
- 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
🌲 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–2025
Licensed under Apache License 2.0
🙋 Contributing
Welcome! Welcome!