Original post : Upgrading ESXi 6.5 automatically from the command line without vSphere.
esxcli
apt
yum
Once the SSH service has been enabled, log on to the ESXi server in question over SSH, typically by running ssh root@IPADDR where IPADDR is the address of the vSphere/ESXi host you would like to upgrade. Windows users will likely use putty to establish the SSH connection instead.
ssh root@IPADDR
IPADDR
```bash esxcli software vib update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml ```
```bash reboot ```