GVM
github.com
- Free plan
- macOS
- Linux
What GVM is
GVM is a free tool for managing Go versions on Linux and macOS. It can install or remove versions by tag, including releases and the tip version, and `gvm listall` shows available release tags with an option to include weekly builds. Install choices include selecting a source or name, installing protobufs or build tools, and preferring or requiring binaries. For changes in GOROOT, `gvm diff` lists files that were added or removed.
GVM also manages GOPATH package sets, including sets kept within a repository, and can link project directories into GOPATH. Package sets can use their own native code and dependencies through an overlay prefix and related environment variables. It supports project version pinning, lockfiles, automatic switching, shell integration, and CI/CD use. Installation requires Bison; platform instructions also name tools such as Git, Mercurial, Make, and GCC. Compiling Go 1.5 or later requires an existing Go installation to bootstrap, with Go 1.4 given as an example. The repository includes an MIT license.
Who it suits
GVM suits Go developers who need to switch versions, manage project-specific GOPATH package sets, or integrate version management into CI/CD. Installation requires Bison and may require additional platform tools.
Good to know, and what to watch
- Installs and removes Go versions by tag.
- Can keep GOPATH package sets local to repositories.
- Supports automatic switching and project version pinning.
- Works with shell integration and CI/CD.
- MIT-licensed and free.
- Requires Bison for installation.
- Go 1.5 and later need an existing Go installation to bootstrap.
- Platform instructions list additional tools, including Git and GCC.
Plans
Every plan and pricegvm
Free plan
Getting started
- Open https://github.com/moovweb/gvm
- Install the prerequisite Bison package
- Install platform-listed tools such as Git, Mercurial, Make, and GCC as needed
- Install GVM and choose a Go version by tag
- Create or select GOPATH package sets and link project directories when needed
Limits to check
Compiling Go 1.5 and later requires an existing Go installation for bootstrapping; Go 1.4 is given as an example.
The Club's review
Overview
GVM is a free Go version manager for Linux and macOS. It suits Go developers who need several runtimes and repository-specific GOPATH environments, especially when projects must switch versions automatically. Its breadth is useful, but installation has a meaningful prerequisite and build caveat.
Rather than only selecting a Go binary, GVM brings runtime selection, package-set isolation, project linking and shell behavior into one workflow. It is a focused choice for Go development, not a broad manager for unrelated language toolchains.
Key features
GVM installs and uninstalls Go versions by tag, including released versions and the tip build. gvm listall displays available release tags and can include weekly builds, giving teams a way to target a known release or evaluate newer code. Project version pinning, shell integration and automatic switching are particularly valuable when several repositories require different Go environments.
Its package-set support is the feature that most clearly separates GVM from a basic runtime switcher. GOPATH package sets can be kept separate, with one tied locally to a repository, while project directories can be linked into GOPATH. That arrangement helps prevent dependencies from one project leaking into another. Projects with native dependencies can use package-set-specific code through an overlay prefix and related environment variables, although this adds environment-management complexity for teams that only need standard Go packages.
Install options cover choosing a source or name, installing protobufs or build tools, and preferring or requiring binaries. Those controls accommodate different build and network situations. The gvm diff command lists files added to and removed from GOROOT, providing a useful audit of changes between installations.
Setup is not completely self-contained. Installation instructions require Bison, and platform guidance also calls for tools such as Git, Mercurial, Make and GCC. Compiling Go 1.5 and later requires an existing Go installation for bootstrapping; Go 1.4 is given as an example. On a clean machine, that prerequisite can be the deciding disadvantage.
Pricing
GVM has one plan: gvm costs nothing and provides Go version management as MIT-licensed software. There are no paid tiers, seat charges or usage quotas to weigh. The tradeoff is that the free plan is the entire product, so organizations needing commercial support or a managed service must look elsewhere.
Platforms
GVM supports Linux and macOS. Its cross-platform scope is limited to those operating systems, so Windows users need another tool or a different development environment. It supports CI/CD usage, making its version pinning and shell integration relevant to repeatable build jobs as well as local development.
Who it's for
Choose GVM if you maintain Go repositories with different version requirements, want package sets kept local to projects, or need to work with release and tip builds. It is also a sensible fit for teams that can standardize the required Unix build tools in development and CI environments.
GVM is less suitable when a one-command, minimal runtime installer is the priority, when Windows is required, or when the bootstrap Go installation and native-tool prerequisites cannot be accommodated.
Pros and cons
- Pros: manages released tags and tip, with optional weekly builds for broader version selection.
- Pros: combines automatic switching and project pinning with repository-local GOPATH package sets.
- Pros: supports native dependencies, project-to-GOPATH linking and binary/source installation choices.
- Pros: free to use under the MIT license, with CI/CD support.
- Cons: newer Go releases require an existing Go installation to bootstrap compilation.
- Cons: Bison and other platform tools make initial setup heavier than a runtime-only manager.
- Cons: Linux and macOS support excludes Windows installations.
Alternatives
For a wider survey of runtime tools, see Runtime Version Managers, or compare broader environment tooling in Development Environment Managers.
Jabba is a free Java version manager for Linux, macOS and Windows, so pick it when Java rather than Go is the target or Windows coverage matters. GHCup is the free Haskell toolchain manager to choose for Haskell installations across desktop, self-hosted and web environments. axe-playwright is a free Linux and web option for a Playwright-oriented runtime workflow. rustup is the free choice for Rust toolchains on Linux, macOS and Windows. plenv targets Perl on Linux and macOS, while chruby provides free Ruby switching on those platforms. nvm is the free Node.js version manager, and elan manages Lean toolchains across Linux, macOS and Windows.
Verdict
GVM is the right choice for Go developers who need repository-aware package sets as well as dependable version switching, particularly in Unix-based teams and CI pipelines. Its main reason to choose it is the combination of runtime, GOPATH and project automation in one free tool. Look elsewhere if Windows support, a lighter installation, or avoidance of a bootstrap Go installation is more important than that integrated Go workflow.
The verdict
GVM brings Go version and GOPATH package-set management together, including repository-local sets and automatic switching. Check the prerequisite tools and bootstrap requirement before installing.
Questions people ask
What does GVM cost?
GVM is free, with a free free plan, and the repository includes an MIT license.
Which operating systems are supported?
The listed platforms are Linux and macOS.
Can GVM manage package environments?
Yes. It manages GOPATH package sets, can keep a set local to a repository, and can link project directories into GOPATH.
Does GVM support automatic switching?
Yes. The listed capabilities include project version pinning, lockfile support, automatic switching, and shell integration.
What is needed to install it?
Installation instructions require Bison. Platform-specific sections also list tools including Git, Mercurial, Make, and GCC.
What the maker publishes
- Available releases
- The `gvm listall` command lists available release tags, with an option to include weekly builds. source
- GOROOT changes
- The `gvm diff` command lists added and removed files in GOROOT. source
- Install options
- Install options include choosing a source or name, installing protobufs or build tools, and preferring or requiring binaries. source
- Install versions
- It installs and uninstalls Go versions by tag, including releases and the tip version. source
- License
- The repository includes an MIT license granting permission to use, copy, modify, distribute, sublicense, and sell copies of the software subject to its conditions. source
- Limitations
- The README says compiling Go 1.5 and later requires an existing Go installation for bootstrapping, and gives Go 1.4 as an example. source
- Maintainer
- The README says the project is lovingly maintained by Benjamin Knigge and welcomes contributions. source
- Native dependencies
- GVM supports package set-specific native code and dependencies using an overlay prefix and related environment variables. source
- Package sets
- It manages GOPATH package sets and can keep a package set local to a repository. source
- Platforms
- The README provides requirements and setup instructions for macOS and Linux, and also lists FreeBSD requirements. source
- Prerequisites
- The installation instructions require Bison, and the platform-specific sections list additional tools such as Git, Mercurial, Make, and GCC. source
- Project linking
- GVM can link project directories into GOPATH. source
- Purpose
- GVM provides an interface to manage Go versions. source
- Security
- The GitHub security page opened for the repository displays no security details in the accessible page content. source
Checked against the maker's pages on 4 Oct 2026.