Keep the Mac awake from Terminal
caffeinate stops the Mac from sleeping for as long as you say, or until a command finishes.
caffeinate stops the Mac from sleeping for as long as you say, or until a command finishes.
networkQuality, built in since macOS Monterey, measures speed and responsiveness without a website.
pbcopy, pbpaste and open bridge the command line and the rest of the Mac.