govc

Command-line tool for managing and automating VMware vSphere environments

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool for VMware vSphere

Commands

govc

Examples

List all virtual machines in a vSphere datacenter$ govc ls /datacenter/vm
Power on a specific virtual machine$ govc vm.power -on my-vm-name
Get details about a VM including CPU and memory$ govc vm.info -json my-vm-name