Automic VaultAutomic Vault

brew

goenv@2 を Homebrew でインストール

goenv@2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install goenv@2

local Homebrew formula metadata

概要

パッケージ概要

Go version management

コマンドとエイリアス

  • go-build
  • goenv-install
  • goenv-uninstall

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2016: Early goenv tags such as v20160417 and v20161028 appear in the repository.
  • 2017: Repository history records Homebrew core formula availability documentation.
  • 2022: Repository history includes 2.x maintenance releases.
  • 2026: README documents v2 as a legacy line and v3 as a Go-based rewrite.

Related projects

  • pyenv provided the stated starting point for goenv's design and code lineage.
  • rbenv is the older shim-based version-manager model that shaped pyenv and goenv.
  • gvm is listed by the README as a different Go version-management approach modeled after nvm.

セキュリティ状態

保護ツール対応はまだ見つかっていません

goenv@2 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$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/.goenvrc

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
go-buildcliグローバル実行可能ファイル
goenv-installcliグローバル実行可能ファイル
goenv-uninstallcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.2.42
マネージャ更新日2026-07-09
ローカルデータOK
上流最新
検出された最新2.2.42

https://github.com/go-nv/goenv

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:goenv@2
バージョン2.2.42
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/goenv@2
ホームページhttps://github.com/go-nv/goenv
リポジトリhttps://github.com/go-nv/goenv
上流ドキュメントhttps://github.com/go-nv/goenv#readme
ライセンスMIT
ソースアーカイブhttps://github.com/go-nv/goenv/archive/refs/tags/2.2.42.tar.gz
最終更新2026-07-09T01:31:36Z
Pulseupdated
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegoenv@2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyyes
URL Keys
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment