Install Vmware cli tool govc

0 minute read

Github release page on github: https://github.com/vmware/govmomi/releases

Choose right binary version for your OS

1wget -c "<link to file>"

Extract the archive:

1tar xvzf <downloaded_filename>
1chmod +x govc
2sudo install -o root -g root -m 0755 govc /usr/bin/govc

Assign variables used by govc:

1export GOVC_URL=<EXSi endpoint>
2export GOVC_USERNAME=<username> 
3export GOVC_PASSWORD=<password>
4export GOVC_INSECURE=true or false