Forrest logo
back to the caffeinate tool

caffeinate:tldr:c4dfa

caffeinate: Prevent from sleeping (use `Ctrl + C` to exit).
$ caffeinate -i
try on your machine

The "caffeinate" command is a utility in macOS (Mac operating system) that helps prevent the system from entering sleep mode or idle sleep.

The "-i" option stands for "prevent idle sleep". When you execute the command "caffeinate -i" in the Terminal, it initiates the caffeinate utility and prevents the system from going into idle sleep. This means that your Mac's display and system won't sleep after a period of inactivity.

It can be useful in situations where you want to keep your computer awake for a prolonged period, such as while giving a presentation or downloading a large file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the caffeinate tool