How to Stop Your Mac From Going to Sleep

Sometimes you want to stop your computer from going to sleep, while you go doing something else.

Of course, you can go to your System Settings and completely turn off sleep mode, but then you’ll probably forget to turn back on again and waste a lot of electricity.

Instead, you can do it directly in your Mac Terminal.

Open up your Terminal (CMD + Space, then search for Terminal and hit Enter when it shows up to open it).

Then run this command:

caffeinate

Now your Mac will stay awake until you cancel this process by pressing CTRL + C.


Has this been helpful to you?

You can support my work by sharing this article with others, or perhaps buy me a cup of coffee 😊

Kofi

Share & Discuss on