AppCmd is a minimal Swift-based app switcher for macOS that allows you to instantly switch between applications using the Right Command key.
- Instant Switching: Use Right Command + [Letter] to jump to any running app starting with that letter.
- App Cycling: Repeatedly press the same letter while holding Right Command to cycle through all matching apps.
- Visual Overlay: A modern, translucent UI showing matching apps and your current selection.
- Static Mapping: Assign specific letters to specific apps (e.g., 'O' for Outlook) using Right Command + Option + [Letter].
- Auto-Launch: Static mappings will automatically launch the assigned app if it isn't running.
- Menu Bar Icon: Quick access to Settings and app status.
- HUD Feedback: Optional on-screen notifications for quick switches.
- macOS 13 or newer.
- Accessibility permissions (required for global hotkey detection).
The easiest way to install and stay updated is via Homebrew:
brew tap clearnote01/tap
brew install appcmd
brew services start appcmdNote: After installation, you will need to grant Accessibility permissions to appcmd in System Settings → Privacy & Security → Accessibility. The binary is typically located at /opt/homebrew/bin/appcmd.
From the project root:
swift build -c releaseThe executable will be at .build/release/appcmd.
- Dynamic Switching: Hold Right Command and press a letter (e.g.,
Sfor Safari). - Custom Assignment: Focus an app, then hold Right Command + Option and press a letter.
- Settings: Click the
⌘icon in the menu bar and select Settings... to customize themes, HUD feedback, and manage your assignments.
Static assignments are stored in:
~/Library/Application Support/AppCmd/config.json
If not using Homebrew services, you can use the provided scripts:
./install-launch-agent.shTo disable auto-start:
./uninstall-launch-agent.sh- Right Command: This tool specifically targets the Right Command key to avoid conflicts with standard system shortcuts.
- Permissions: If the app doesn't seem to respond, ensure it is enabled under System Settings → Privacy & Security → Accessibility.
Created with love by Utkarsh Raj