A simple CLI to shutdown or restart macOS.
Regular macOS shutdown
or reboot
commands act as a forced shutdown, resulting in apps and windows being restored upon the next login.
This CLI offers a simple alternative to shutdown
or reboot
which shut down macOS a little more gracefully.
Via Homebrew:
# Install:
brew install echocrow/tap/unboot
# Update:
brew upgrade echocrow/tap/unboot
Shutdown:
unboot
Restart/Reboot:
unboot -r