You can install vCLI on a Red Hat Enterprise Linux system that has no previous vCLI versions installed.

Remove previous vCLI installations.

Download the installation package.


Untar the vCLI binary that you downloaded.

tar –zxvf VMware-vSphere-CLI-6.X.X-XXXXX.XXXX.x86_64.tar.gz

A vmware-vsphere-vcli-distrib directory is created.


Log in as superuser and run the installer.

/<location>/sudo vmware-vsphere-cli-distrib/

To accept the license terms, enter yes and press Enter.


To install Perl modules locally, enter yes and press Enter.


Specify an installation directory, or press Enter to accept the default, which is /usr/bin.

A complete installation process has the following result.

A success message appears.

The installer lists different version numbers for required modules, if any.

The prompt returns to the shell prompt.

If you accepted the defaults during installation, you can find the installed software in the following locations.

vCLI scripts – /usr/bin

vSphere SDK for Perl utility applications – /usr/lib/vmware-vcli/apps

vSphere SDK for Perl sample scripts – /usr/share/doc/vmware-vcli/samples

See the vSphere SDK for Perl documentation for a reference to all utility applications. After you install vCLI, you can test the installation by running a vCLI command or vSphere SDK for Perl utility application from the command prompt.