govm is a simple yet powerful Go version manager that allows you to seamlessly install, switch, and manage multiple Go versions on your system. Whether you're working on different projects requiring different Go versions or just need an easy way to manage your Go environment, govm has got you covered.
With govm, you can quickly install any Go version, switch between them effortlessly, and ensure your projects always run with the correct Go version. It eliminates the hassle of manually downloading, configuring, and maintaining multiple Go installations.
-
Effortless Installation β Install any Go version with a single command.
-
Seamless Switching β Easily switch between different Go versions for different projects.
-
Environment Isolation β Avoid conflicts between Go versions across projects.
-
Lightweight & Fast β Optimized for performance with minimal overhead.
-
Persistent Versioning β Set and persist default Go versions globally or per project.
-
Automatic Updates β Keep your Go environment up to date with the latest releases.
-
Cross-Platform Support β Works on Linux, macOS, and Windows.
-
Minimal and Fast β Lightweight with optimized performance.
-
Uninstall and Update β Easily update or remove govm when needed.
-
Custom Go Cache Paths β Define custom directories for Go versions.
To install govm on Linux or macOS, run the following command:
curl -o- https://raw.githubusercontent.com/emmadal/govm/main/scripts/install.sh | bashor
wget -qO- https://raw.githubusercontent.com/emmadal/govm/main/scripts/install.sh | bashTo install govm on Windows, open PowerShell as Administrator and run:
iwr -useb https://raw.githubusercontent.com/emmadal/govm/main/scripts/install.ps1 | iexgovm install <version>govm use go<version>govm listgovm rm go<version>You can update govm to the latest version using the following command:
govm updateWe provide a command to uninstall govm from your system. This will remove the govm binary and all installed Go versions managed by govm. Please note that this will not remove any Go versions installed manually.
You can uninstall govm using the following command:
govm uninstall- Bash 3.2 or later (for Linux/macOS)
- PowerShell 5.1 or later (for Windows)
- A POSIX-compliant system (Linux, macOS) or Windows 7/10/11
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT Licenseβsee the LICENSE file for details.
If you encounter any issues or have questions, please file an issue on the GitHub repository.
