EFI boot menu manipulation for macOS, like efibootmgr
Clone or download



bootoption screenshot

EFI boot menu manipulation for macOS. Like efibootmgr. Report bugs here on GitHub.


Install bootoption with Homebrew

brew tap vulgo/repo
brew install bootoption


bootoption <command> [options]

available commands:

  • list  show the firmware boot menu
  • info  show an option's properties
  • create  create a new EFI load option
  • order  re-arrange the boot order
  • set  set/modify variables in NVRAM
  • delete  delete variables from NVRAM
  • reboot  reboot to firmware settings

bootoption <command> without options will show the usage or options for that command, where available. Making changes to the boot menu requires sudo and working hardware NVRAM - emulated NVRAM for instance, will not work.

Create a new option and add it to the boot order

sudo bootoption create -l /Volumes/EFI/EFI/GRUB/GRUBX64.EFI -d "GNU GRUB"

Move an option from 4th to 1st in the boot order

sudo bootoption order 4 to 1

Disable an option

sudo bootoption set -n Boot0002 --active=0

Change the boot menu timeout to 10 seconds

sudo bootoption set -t 10

Set an option's command line argmuments

sudo bootoption set -n Boot0000 -a "initrd=/initramfs.img root=/dev/disk/by-uuid/346d9a61-f7e5-4f58-bad7-026bb5376e0f"

Reboot to firmware settings

sudo bootoption reboot


bootoption is free software: you are free to change and redistribute it. See the GNU GPL version 3 or later http://gnu.org/licenses/gpl.html