sleepnow

v 20070603

put your Mac to sleep from the command-line

SleepNow is a Mac OS X command-line tool which puts the machine to sleep, just as though someone had used the Sleep menu command while sitting in front of the machine. The advantage is that SleepNow can be run while logged in to the machine from anywhere on the net.

https://www.snoize.com/SleepNow/

To install sleepnow, paste this in macOS terminal after installing MacPorts

sudo port install sleepnow

Add to my watchlist

Installations 1
Requested Installations 1