Stephen Gilmore

☕ Caffeinate your mac

Programming November 11th, 2023 1 minute read.

Today I learned a one-liner to keep a Mac from sleeping. It's pretty useful for presenting and overly aggressive IT policies.

Pop open the terminal and then type in:

caffeinate -disu

Ctrl + c to exit.