macos sleep command line

how do I get my Mac mini 2020 to sleep from the command line. I need the CL, as I use a third party mouse and keyboard. I cannot effectively sleep the Mac from the menu in the top left, as mouse movement just puts the Mac straight back on.


I used to use the pmset /sleepnow command. I am having issues with this, as resume is quite slow, around 24 seconds. I am convinced this is doing a hibernate, rather than a sleep.


Is there a better way of doing "sleep" on the command line?

Posted on May 1, 2020 4:43 AM

Reply
6 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macos sleep command line

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.