How to keep a Mac awake without installing anything
If you just need your Mac to stay awake โ a long download, an overnight render, a screen share that shouldn't cut out โ you don't need Amphetamine, KeepingYouAwake, or any other app. Apple built this into macOS years ago. Here are the three built-in options, in order of how often they're the right answer.
Option 1: the caffeinate command
caffeinate is a command-line tool that's shipped with every version of macOS since Mountain Lion in 2012. Open Terminal (Cmd+Space, type "Terminal", hit Enter) and run:
caffeinate -d
Your Mac now won't sleep and the display stays on until you press Ctrl+C in that Terminal window or close it. That's the whole thing.
A few useful variations:
caffeinate -d -t 7200keeps the display awake for exactly two hours (the number is seconds), then lets normal sleep settings resume. Good if you tend to forget things are running.caffeinate -iprevents system sleep but lets the display turn off โ right for downloads and renders where you don't need the screen.caffeinate -sprevents sleep only while plugged in, so an unplugged laptop still protects its battery.caffeinate -i python backup.pywraps a specific task: the Mac stays awake only while that script runs, then everything reverts automatically. Cleanest option because there's nothing to remember to undo.
Option 2: System Settings
If Terminal isn't your thing, go to System Settings โ Lock Screen and set "Turn display off when inactive" to Never. On a laptop, also open System Settings โ Battery โ Options and enable "Prevent automatic sleeping on power adapter when the display is off."
This works, but it's a blunt instrument. The change is permanent until you undo it, and most people forget. A Mac that never sleeps at your desk is also a Mac that never sleeps in your bag โ which is how laptops arrive at meetings hot and at 12% battery.
Option 3: pmset for one-off overrides
For finer control there's pmset, the Terminal tool behind macOS power management. pmset noidle does roughly what caffeinate does โ blocks idle sleep until you Ctrl+C. Changing actual power settings with pmset needs sudo, though, so on a managed work Mac without admin rights, stick with caffeinate. It needs no privileges at all.
What none of this does: keep your status green
Here's the catch most articles skip. All three options keep the machine awake. None of them generate input. Slack, Microsoft Teams, and most monitoring tools don't ask "is this computer on?" โ they ask "has this person touched the keyboard or mouse lately?" A Mac running caffeinate with an untouched mouse will show you as Away after five or ten minutes, same as always.
We covered the Teams version of this in keep your Microsoft Teams status green. The short version: staying awake and appearing active are different problems. caffeinate solves the first. The second takes actual cursor movement โ either a browser-based jiggler like ours, which needs no install and runs fine on locked-down Macs, or a hardware device, which we compare in software vs. hardware mouse jigglers.
Which one should you use?
For a one-off task, wrap it: caffeinate -i your-command. For "keep the screen on through this meeting," caffeinate -d -t 3600 with a time limit. For a desktop Mac that should simply never sleep, the System Settings change is fine. And if what you actually care about is a status dot rather than the power state, none of these are your tool.
Bottom line
You don't need to install anything to keep a Mac awake โ caffeinate -d in Terminal does it with zero setup and zero admin rights, and it undoes itself the moment you close the window. Just be clear about what you're solving: caffeinate keeps the Mac awake, not your Slack status. If the green dot is the real goal, that takes simulated activity, which is a different tool โ ours is free and runs in the browser.