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

caffeine

Caffeine is a command line tool for macOS that prevents your computer from going to sleep or displaying a screensaver. It is primarily used to keep your computer awake during certain tasks or when you need to prevent it from automatically entering sleep mode.

By default, macOS has an energy-saving feature that puts your computer to sleep after a certain period of inactivity. Caffeine allows you to bypass this feature temporarily.

Once you download and install Caffeine, it appears as a coffee cup icon in your menu bar. You can activate Caffeine by clicking on the icon, and it will prevent your computer from sleeping as long as it's turned on.

Caffeine can be useful during long downloads, file transfers, presentations, or any other task that requires your computer to stay awake and active. It ensures that your system remains active until you manually disable the tool.

You can configure Caffeine to activate automatically when certain applications are running, such as media players or specific software that may cause your computer to sleep unexpectedly.

Caffeine also provides a range of options to customize its behavior. For example, you can choose to have it activate for a specified amount of time or indefinitely until manually turned off.

In addition to preventing sleep, Caffeine can also disable the screensaver on your Mac, allowing uninterrupted display of content during presentations or watching movies.

Caffeine is a lightweight and straightforward tool with a minimalistic interface. It does not heavily impact system resources, and its functionality is easy to understand and use.

Overall, Caffeine is a handy command line tool for macOS users who need to keep their computer awake, preventing sleep and screensavers during particular tasks or specific periods of time.

List of commands for caffeine:

tool overview