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
⚓
"Miracles only happen to those who keep trying."
— Emporio Ivankov 『One Piece』