macOS
brew install goenv@2local Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für goenv@2 in AI-Agent-Workflows.
Installation
brew install goenv@2local Homebrew formula metadata
Überblick
Go version management
Verlauf
goenv is a Go toolchain version manager in the rbenv and pyenv family. Its shell-shim model lets a user pick a Go version globally, per project, or through an environment override.
The goenv@2 package represents the shell-script based line of the project. The project documentation describes v2 as the legacy branch kept for existing installations while a Go-based v3 line carries the rewrite.
The repository preserves inherited history from the rbenv and pyenv lineage, and the README states that goenv was cloned from pyenv and modified for Go. Go-specific repository history appears in the mid-2010s, with releases and command documentation settling around Go version installation, shims, and per-directory version files.
The command set follows the familiar rbenv-style vocabulary: global, local, shell, install, uninstall, rehash, which, whence, and version. The environment documentation adds Go-specific behavior around GOROOT, GOPATH, go.mod based version detection, and auto-install behavior.
goenv gained package-manager relevance because Go developers needed the same repeatable multi-version workflow that Ruby and Python users had through rbenv and pyenv. The README notes Homebrew installation for both the main package and the goenv@2 legacy formula.
The v2 line remains significant for CI and production setups that standardized on the shell implementation before the v3 rewrite. The README calls out AWS CodeBuild and existing production systems as examples of environments where v2 may remain in use during migration.
Users install Go versions with goenv install, select a global version by writing $GOENV_ROOT/version, and pin project directories with .go-version. The shell integration uses eval "$(goenv init -)" so shims resolve commands through the selected Go version.
The tool is most useful where multiple repositories require different Go versions, where CI images need a predictable Go bootstrap, or where package maintainers test against several Go releases without replacing the system Go.
For package people, goenv is interesting as a direct transplant of the shim-based language-runtime manager pattern into the Go ecosystem. It shows how a package can be culturally important even when the underlying trick is old: predictable PATH shims plus tiny version files.
goenv@2 also matters as a versioned package split. Homebrew keeps the shell implementation available under a versioned formula while the upstream project moves through a rewrite, giving users a migration path without hiding the older behavior.
Sicherheitslage
Für goenv@2 wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$GOENV_ROOT/version, default ~/.goenv/version (global Go version)./.go-version (project-local Go version)./.goenv-version (legacy project-local version file)$GOENV_RC_FILE, default $HOME/.goenvrcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
go-build | cli | globales Executable | |
goenv-install | cli | globales Executable | |
goenv-uninstall | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/go-nv/goenv
Installationsmetadaten
| Paketschlüssel | brew:goenv@2 |
|---|---|
| Version | 2.2.42 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/goenv@2 |
| Homepage | https://github.com/go-nv/goenv |
| Repository | https://github.com/go-nv/goenv |
| Upstream-Dokumentation | https://github.com/go-nv/goenv#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/go-nv/goenv/archive/refs/tags/2.2.42.tar.gz |
| Zuletzt aktualisiert | 2026-07-09T01:31:36Z |
| Pulse | updated |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | goenv@2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.