vmware/govmomi

Go library for the VMware vSphere API

2,544

stars

4,028

commits

Go

primary language

Sep 8, 2026

updated

go
sdk
vmware
vsphere

README

Build Tests Go Report Card Latest Release Go Reference go.mod Go version

govmomi

A Go library for interacting with VMware vSphere APIs (ESXi and/or vCenter Server).

In addition to the vSphere API client, this repository includes:

  • govc - vSphere CLI
  • vcsim - vSphere API mock framework
  • toolbox - VM guest tools framework

Compatibility

vSphere 7.0 and higher.

Documentation

The APIs exposed by this library closely follow the API described in the VMware vSphere API Reference Documentation. Refer to the documentation to become familiar with the upstream API.

The code in the govmomi package is a wrapper for the code that is generated from the vSphere API description. It primarily provides convenience functions for working with the vSphere API. See godoc.org for documentation.

Installation

Binaries and Docker Images for govc and vcsim

Installation instructions, released binaries, and Docker images are documented in the respective README files of govc and vcsim.

Discussion

Collaborate with the community using GitHub discussions and GitHub issues.

Status

Changes to the API are subject to semantic versioning.

Refer to the CHANGELOG for version to version changes.

License

govmomi is available under the Apache 2 License.

Name

Pronounced: go·​v·​mom·​e

Follows pyvmomi and rbvmomi: language prefix + the vSphere acronym "VM Object Management Infrastructure".

Contributors

(top 30 of 270)

dougm

2,764 commits

akutz

271 commits

dependabot[bot]

153 commits

caglar10ur

44 commits

vmware/govmomi

Go library for the VMware vSphere API

2,544

stars

4,028

commits

Go

primary language

Sep 8, 2026

updated

go
sdk
vmware
vsphere

README

Build Tests Go Report Card Latest Release Go Reference go.mod Go version

govmomi

A Go library for interacting with VMware vSphere APIs (ESXi and/or vCenter Server).

In addition to the vSphere API client, this repository includes:

  • govc - vSphere CLI
  • vcsim - vSphere API mock framework
  • toolbox - VM guest tools framework

Compatibility

vSphere 7.0 and higher.

Documentation

The APIs exposed by this library closely follow the API described in the VMware vSphere API Reference Documentation. Refer to the documentation to become familiar with the upstream API.

The code in the govmomi package is a wrapper for the code that is generated from the vSphere API description. It primarily provides convenience functions for working with the vSphere API. See godoc.org for documentation.

Installation

Binaries and Docker Images for govc and vcsim

Installation instructions, released binaries, and Docker images are documented in the respective README files of govc and vcsim.

Discussion

Collaborate with the community using GitHub discussions and GitHub issues.

Status

Changes to the API are subject to semantic versioning.

Refer to the CHANGELOG for version to version changes.

License

govmomi is available under the Apache 2 License.

Name

Pronounced: go·​v·​mom·​e

Follows pyvmomi and rbvmomi: language prefix + the vSphere acronym "VM Object Management Infrastructure".

Contributors

(top 30 of 270)

dougm

2,764 commits

akutz

271 commits

dependabot[bot]

153 commits

caglar10ur

44 commits

Languages

Go

97.1%

Shell

2.1%