Upgrade ESXi 6.5 using the CLI

Here’s an easy procedure to update your ESXi to the latest build using the CLI and WebUI for Client.

Step1- List latest available packages:

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.5

Step2- Select latest, install and reboot:

esxcli software profile update -p ESXi-6.5.0-20171204001-standard -d http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Step3- Verify latest build:

vmware -vl
VMware ESXi 6.5.0 build-7388607
VMware ESXi 6.5.0 Update 1

Step4- Verify latest client build:

Check version in web ui, under help, about

Client version: 1.24.0
Client build number: 7119706
ESXi version: 6.5.0
ESXi build number: 7388607

Step5- If needed upgrade client to latest using WebUI: