Forrest logo
tool overview
On this page you find all important commands for the CLI tool caffeinate. If the command you are looking for is missing please ask our AI.

caffeinate

Caffeinate is a command line tool for macOS that prevents the system from going to sleep or turning off the display. It was introduced in Mac OS X Lion (10.7) as part of the caffeination suite, aiming to keep the system awake during specific processes. The caffeinate command is used to invoke this tool, and it can be used with different options to modify its behavior. By default, caffeinate prevents the system from going to sleep until it is manually interrupted or the command is terminated. It can be combined with other commands or scripts to keep the system awake for specific tasks, such as long downloads or batch processing. Caffeinate can also prevent the display from sleeping, ensuring continuous visibility. The tool offers various options like specifying the time duration to keep the system awake or defining system power events after which the caffeinate operation should cease. Caffeinate provides additional control over the idle sleep timer, enabling users to specify the time threshold for system inactivity. Overall, caffeinate is a useful command line tool that helps users manage system sleep and display settings to ensure uninterrupted operation.

List of commands for caffeinate:

tool overview