Efibootmgr
From wikinotes
efibootmgr lets you manage the UEFI boot entries written to your NVRAM.
Documentation
man efibootmgr
https://man.archlinux.org/man/core/efibootmgr/efibootmgr.8.en UEFI spec specification: UEFI
Example
# show installed bootloaders # # BootOrder: 0080,0000 # boot priority # Boot0080: Mac OS X # macos boot entry # Boot0000: Foo # foo boot entry efibootmgr efibootmgr -o 0000,0080 # change boot priority