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 and macOS (Windows support coming soon).
-
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
, run the following command:
curl -o- https://raw.githubusercontent.com/emmadal/govm/main/scripts/install.sh | bash
or
wget -qO- https://raw.githubusercontent.com/emmadal/govm/main/scripts/install.sh | bash
govm install <version>
govm use <version>
govm list
govm rm <version>
You can update govm
to the latest version using the following command:
govm update
We 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
- A POSIX-compliant system (Linux, macOS, etc.)
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.