Caffeinate for Mac Terminal Kevin John February 10, 2014 Apple, Mac I've been using Caffine for Mac to prevent my mac from sleeping until I found this terminal command that comes with Mountain Lion and up. Just launch the Terminal App and type caffeinate -u -t 14400 ...