# Patching VMware vSphere ESXi
ESXi 6.5
Patch: ESXi650-202102001.zip
Upload the patch ESXi650-202102001.zip to DataStore.
Migrate or power off all VMs and set the ESXi host to maintenance mode.
![]()
Enable SSH service.
![]()
Open SSH session, login as root.
a) ESXi 6.5 and older.
esxcli software vib update -d /vmfs/volumes/VPLEX_UNITY500_VMware_10TB_1/VMware-Patches/ESXi650-202102001.zip![]()
b) ESXi 7.0 and latest.
esxcli software sources profile list -d /vmfs/volumes/datastore_lun01/VMware-Patches/VMware-ESXi-7.0u3w-24784741-depot.zipesxcli software profile update -d /vmfs/volumes/datastore_lun01/VMware-Patches/VMware-ESXi-7.0u3w-24784741-depot.zip -p ESXi-7.0U3w-24784741-standard
Reboot the ESXi host.
reboot![]()
Check that the upgrade has been successfully completed and exit maintenance mode.
# Reference
・ Upgrading, updating or applying a patch to ESXi host using esxcli command



