macOS
brew install govclocal Homebrew formula metadata
brew
govc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install govclocal Homebrew formula metadata
sudo apk add govcAlpine Linux edge package indexes · govc · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#govcnixpkgs package indexes · pkgs/by-name/go/govc/package.nix · ソース: api.github.com
sudo zypper install govcopenSUSE Tumbleweed package metadata · govc · ソース: download.opensuse.org
scoop install main/govcScoop official bucket manifest trees · bucket/govc.json · ソース: api.github.com
概要
Command-line tool for VMware vSphere
履歴
govc is the vSphere command-line interface shipped inside the govmomi project. It gives VMware vSphere users a scriptable Go-based alternative to GUI operations, while also serving as a working example and test harness for the govmomi API bindings.
govmomi started in 2014 as a Go library for interacting with VMware vSphere APIs for ESXi and vCenter Server. Its README presents govc as one of the repository's core deliverables alongside the vSphere API client, vcsim mock framework, and toolbox guest tools framework. govc's own README expands the role: it is built on govmomi, designed as a user-friendly alternative to the GUI, well suited for automation, and useful as a concrete example of govmomi API usage.
The changelog records govc's v0.1.0 release on 2015-03-17 and shows that early work already included cross-compilation, version variables, functional tests, device commands, VM information, VNC controls, datastore listing, and the CLI skeleton. The v0.2.0 release later in 2015 added more govc commands and cross-compilation improvements, helping the project become practical as a downloadable operations tool rather than only a Go source checkout.
The project kept govc and the library moving together as vSphere APIs changed. Later changelog entries show govc accumulating inventory, datastore, VM, host, session, import/export, Kubernetes/vSphere, CNS volume, GPU, storage-policy, and namespace-related commands. A 2024-era refactor moved most govc command packages under a shared `cli` package, formalizing the split between the command implementation and the top-level govc entry point.
govc adoption followed vSphere automation needs: administrators and platform teams could use environment variables such as GOVC_URL, GOVC_USERNAME, GOVC_PASSWORD, GOVC_DATACENTER, GOVC_DATASTORE, GOVC_NETWORK, and related defaults to script against ESXi or vCenter. The README documents released binaries, Docker images, source builds, and a minimal runner image, making the CLI easy to place in shells, CI jobs, and containerized automation.
Package-manager adoption reflects that operational niche. The input metadata lists govc in Homebrew, Alpine, Nix, Scoop, and zypper, which fits the tool's role as an infrastructure CLI that needs to appear in both developer laptops and automation images.
A typical govc setup supplies a vCenter or ESX endpoint through GOVC_URL or the `-u` flag, optionally separates credentials into GOVC_USERNAME and GOVC_PASSWORD, and then uses commands to inspect, create, clone, import, export, configure, or query vSphere objects. Managed entities can be addressed by absolute inventory paths, relative paths, or glob-like patterns, and many defaults can be supplied through environment variables.
The README also documents troubleshooting-oriented flags: `-verbose` writes compact request/response detail to stderr, `-trace` prints HTTP/API traffic, and `-debug` writes API call artifacts under `~/.govmomi/debug` unless GOVC_DEBUG_PATH changes the destination. That makes govc useful both as an operator CLI and as a diagnostic front-end for govmomi behavior.
govc matters to package maintainers because it packages a large proprietary-platform API surface into one scriptable binary. It is often the easiest way to automate vSphere from Unix shells without installing a heavyweight GUI or a language-specific SDK stack.
It also has unusually high example value: because govc is built directly on govmomi and used as a test harness, its commands double as runnable API examples. People packaging or auditing vSphere automation stacks can use govc behavior to understand the underlying Go library and vice versa.
セキュリティ状態
govc に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
govc | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/vmware/govmomi
インストールメタデータ
| パッケージキー | brew:govc |
|---|---|
| バージョン | 0.55.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/govc |
| ホームページ | https://github.com/vmware/govmomi/tree/main/govc |
| リポジトリ | https://github.com/vmware/govmomi |
| 上流ドキュメント | https://github.com/vmware/govmomi/tree/main/govc#readme |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/vmware/govmomi/archive/refs/tags/v0.55.1.tar.gz |
| 最終更新 | 2026-07-03T15:09:17Z |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | govc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
govc
nix profile install nixpkgs#govcgovc 0.53.0-r2
vSphere CLI built on top of govmomi
https://github.com/vmware/govmomi/blob/main/govc/README.md
sudo apk add govcgovc 0.54.1-1.1
vSphere CLI built on top of govmomi
https://github.com/vmware/govmomi
sudo zypper install govcmain/govc
scoop install main/govcソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.