Hey ho =)
Do you use a Windows or Linux Machine?
For Windows I am aware of two possibilities.
1. A Batch file or
2. A Windows package Manager, which works with Calibre (
https://chocolatey.org/)
If you want the Batch File, I could give you an Tutorial =)
But: I would not recommend it!
I had once the Problem, that a new Calibre Version wasn't working properly for my Machine. Which ended in a really nasty Bug and a corrupted Library.
It was an aweful waste of time, to get my old stand back. >.<