HACKER Q&A
📣 vishalroygeek

Does anybody know how to prevent Mac from sleeping?


Hey, do you guys know what's the best way to prevent my Mac from going to sleep ? I came across a few apps like InsomniaX etc. while searching, but they all seemed overkill.

Also found this one on PH today - https://www.producthunt.com/posts/nesleep , it's minimalistic and good, but is there anything better available ?



👤 FabHK
On the command line, use

  caffeinate -dt 3600
to stay awake for an hour, including the display.

👤 climatekid
Amphetamine app in Mac App Store