commands.sh

nvram

macos

Manipulate firmware variables.

More info →

Examples (6)

[p]rint all the variables stored in the NVRAM

[p]rint all the variables stored in the NVRAM using [x]ML format

nvram -xp

Modify the value of a firmware variable

sudo nvram name="value"

[d]elete a firmware variable

sudo nvram -d name

[c]lear all the firmware variables

Set a firmware variable from a specific [x]ML [f]ile

sudo nvram -xf path/to/file.xml
made by @shridhargupta | data from tldr-pages