6.5

Uninstall the vCLI Package on Linux
You can use a script included in the installation to uninstall the vCLI package.
Procedure
1 Navigate to the directory where you installed vCLI.
The default directory is /usr/bin.
2 Run the vmware-uninstall-vSphere-CLI.pl script.
The command uninstalls vCLI and the vSphere SDK for Perl.
Installing and Uninstalling vCLI on Windows
Before you can run vCLI commands from your Windows system, you must install the vCLI package and test
the installation by running a command.
Install the vCLI Package on Windows
The vCLI installation package for Windows installs vSphere SDK for Perl and vSphere CLI, but does not
include the ActivePerl runtime from ActiveState Software.
The vCLI is supported on the Windows platforms that are listed in the Release Notes.
Important If you want to run ESXCLI commands included in vCLI from a Windows system, you must
have the Visual C++ 2008 redistributable for 32-bit installed on that system. Find vcredist_x86.exe for
Visual C++ 2008 and install it on your Windows system.
Prerequisites
Verify that you have ActivePerl or Strawberry Perl version 5.14 or later installed on your Windows system.
Procedure
1 Download the vCLI Windows installer package.
You can nd the installer in the Automation Tools and SDKs section of the Drivers & Tools tab of the
vSphere download page.
2 Start the installer.
3 (Optional) If prompted to remove older versions of vSphere SDK for Perl or vCLI, you can either accept
or cancel the installation, and install the vCLI package on a dierent system.
Important The installer replaces both the vSphere SDK for Perl and vCLI. To keep an older version,
install this package on a dierent system.
4 Click Next in the Welcome page.
5 To install the vCLI in a nondefault directory, click Change and select an alternative directory.
The default location is C:\Program Files\VMware\VMware vSphere CLI.
6 Click Next.
7 Click Install to proceed with the installation.
The installation might take several minutes to complete.
8 Reboot your system.
If you do not reboot, path seings might not be correct on your Windows platform.
Chapter 1 Installing vSphere SDK for Perl
VMware, Inc. 15