caffeinate prevents your Mac from sleeping for a set time or until a command finishes or until you Ctrl+C.
keep your Mac awake with caffeinate
📖
"Without suffering, what would be the pleasure of it? Everything would be turned into an endless church service; it would be holy, but tedious. And so, I am compelled to play the role of the critic, to maintain the balance."
— The Devil 『The Brothers Karamazov』