A simple, elegant macOS utility to control system power functions like shutdown, restart, sleep and log out with keyboard shortcuts.
Shutdown.app
is a lightweight utility that provides quick access to common system power functions.
With simple keyboard shortcuts and an intuitive interface, you can sleep, restart, shut down, or log out of your Mac with a single keystroke.
The app is designed to be minimal, fast, and keyboard-friendly. It uses native macOS UI components for a seamless experience that integrates perfectly with your system.
- Sleep your Mac π΄ with β + Z
- Restart your Mac with β + R
- Shut Down your Mac with β + S
- Log Out of your account with β + L
- Clean, native macOS interface
- Full keyboard navigation support
- Color-coded buttons for easy identification
- macOS 14.6 (Sonoma) or later
- 1MB of free disk space
- Download the latest release
- Extract the ZIP file and drag the app to your Applications folder
- Launch the app from Launchpad or Applications folder
- (Optional) Allow unsigned app on macOS
- Go to System Settings
- Click on Privacy & Security
- Scroll down to Security section
- Look for a message about the blocked
Shutdown.app
app and click "Open Anyway"
Tip: Use Spotlight Search and type Shutdown
to sleep, restart, shut down, or log out of your Mac.
- Launch the app
- Select an action using your mouse or keyboard (tab, β, β, β, β)
- Press Enter to confirm, or use the keyboard shortcuts:
- β + Z for Sleep π€
- β + R for Restart
- β + S for Shut Down
- β + L for Log Out
- Escape to cancel
When first launched, the app may request accessibility permissions to control system functions. These permissions are required for the app to function properly.
Prerequisites:
- Xcode 16.2 or later
Steps:
Clone the repository:
git clone https://github.com/Cyclenerd/macos-missing-shutdown-app.git
Open the project in Xcode:
cd macos-missing-shutdown-app
open Shutdown.xcodeproj
Build the project:
Select Product
> Build
from the menu or use the keyboard shortcut β + B
Or build the project via CLI:
sudo xcode-select --switch "/Applications/Xcode.app"
xcodebuild -version
xcodebuild clean build -scheme "Shutdown" -destination "platform=macOS" CODE_SIGN_IDENTITY=""
xcodebuild archive -scheme "Shutdown" -destination "platform=macOS" -archivePath ./build/Shutdown.xcarchive CODE_SIGN_IDENTITY=""
The app is built with SwiftUI and consists of two main files:
ShutdownApp.swift
: Contains the app entry point, system control logic, and modelsContentView.swift
: Contains the user interface implementation