ποΈ Interactive TUI
Run gpuswitch with no arguments for an arrow-key picker that shows your current mode and applies a new one on enter.
Run gpuswitch with no arguments to open the interactive terminal UI, built
with Ink and React:
gpuswitchGPU Mode
current: auto
β― integrated integrated GPU only β best battery life
discrete discrete GPU only β full performance
auto let macOS decide automatically
ββ navigate Β· enter apply Β· q quitThe picker starts on whatever mode is currently active, so you can see at a glance where you are before changing anything.
β¨οΈ Keys
| Key | Action |
|---|---|
β / β | Move the selection (wraps around) |
enter | Apply the highlighted mode |
q | Quit without changing anything |
esc | Quit without changing anything |
When you press enter, the TUI exits and the selected mode is applied with
sudo pmset β you'll be prompted for your password in the terminal. Pressing
q or esc leaves your current mode untouched.
For non-interactive use β shell scripts, aliases, automations β reach for the headless subcommands instead.