goenv
github.com
- Free plan
- macOS
- Linux
What goenv is
goenv manages Go versions on Linux and macOS, letting developers select one globally, per project, or through an environment-variable override. Shim executables in PATH route Go commands to the installation selected for the current context. The installation guide says goenv downloads prebuilt Go binaries provided by Google, and new Go versions are added automatically on a daily schedule. The project recommends v3 for new installations and identifies it as the current stable version; it says v3 is fully backward compatible with v2. The v2 line continues to receive security patches and critical bug fixes, with support ending on or before December 31, 2028. Setup instructions cover Bash and Zsh, with a note for Ubuntu users to edit .bashrc. The README documents Homebrew installation for macOS and Linux, and the installation page covers the ZPlug plugin manager for Zsh. The README also includes AWS CodeBuild guidance. goenv is free under the MIT license.
Who it suits
goenv suits Go developers on Linux or macOS who need to switch versions across projects or environments. Its documented shell setup and AWS CodeBuild guidance may also help teams incorporating it into development workflows.
Good to know, and what to watch
- Selects Go versions globally, per project, or by environment.
- Shim executables route commands to the selected version.
- New Go versions are added on a daily schedule.
- Documents Bash, Zsh, Homebrew, and AWS CodeBuild.
- Free under the MIT license.
- Documented operating systems are Linux and macOS.
- Ubuntu users are told to edit .bashrc for shell setup.
Plans
Every plan and pricegoenv
Free plan
The verdict
goenv provides several ways to select a Go version and documents shell and CI setup. The project recommends v3 for new installations and continues limited maintenance of v2 through its stated support period.
What the maker publishes
- CI usage
- The README includes guidance for using goenv in AWS CodeBuild. source
- Command routing
- goenv uses shim executables in PATH to route Go commands to the selected installation. source
- Compatibility
- The project says v3 is fully backward compatible with v2. source
- Current release
- The project identifies v3 as its current stable version and recommends it for new installations. source
- Integrations
- The installation page documents Homebrew and a ZPlug plugin manager for Zsh. source
- Legacy support
- The project says v2 receives security patches and critical bug fixes, with support ending on or before December 31, 2028. source
- License
- The repository identifies its license as MIT. source
- Purpose
- goenv manages Go versions using a model similar to pyenv and rbenv. source
- Shell setup
- The installation guide gives setup instructions for Bash and Zsh, and notes Ubuntu users should edit .bashrc. source
- Supported systems
- The README documents Homebrew installation for macOS and Linux. source
- Version discovery
- New Go versions are added automatically on a daily cron schedule. source
- Version installation
- The installation guide says goenv downloads and places prebuilt Go binaries provided by Google. source
- Version selection
- It supports global, per-project, and environment-variable overrides for the Go version. source
Checked against the maker's pages on 3 Oct 2026.