I would strongly urge you to spend some time with general Google searches as there are loads of articles out there that go into exactly what you want in great depth. It'd be faster than someone typing it all out in any case.
I did, but many focused on using update manager. The ones I did have, the commands did not seem to work. I think maybe the issue was understanding what was to be put after the -p
esxcli software profile update -p ESXi-6.5.0-4564106-standard -d vmfs/volumes/MySSDR610/VMware-ESXi-6.5.0-4564106-depot.zip
i think the command provided earlier would help you which is :
esxcli software profile update -p "name_of_profile" -d "path_to_the_zip_file"
Also, to get the profile from a zip file, run this command :
esxcli software profile sources profile list -d "path_to_zip_file"
After running this command, record the profile and run the first command.
Also, alternatively you can run this as well :
esxcli software profile install -p "name_of_profile" -d "path_to_the_zip_file"
I hope this helps.