caffeinate - prevent macOS from sleeping — by SS64.com
Reference for caffeinate, which keeps a Mac awake while a command runs or for a set time. Flags: -d display, -i idle sleep, -m disk, -s system on AC, -u user active, -t seconds, -w until a PID exits.
Quick steps
- caffeinate -u -t 3600
- caffeinate -i make
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: caffeinate - prevent macOS from sleeping by SS64.com. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me