#Quit

Add a quit option to the Finder.

  • Tested on macOS:
    • Big Sur
    • Catalina
    • Mojave
  • Parameter type: bool

#Set tofalse(default value)

defaults write com.apple.finder QuitMenuItem -bool false && killall Finder
  • Hide the Finder "Quit" option

#Set totrue

defaults write com.apple.finder QuitMenuItem -bool true && killall Finder
  • Display the Finder "Quit" option

#Read current value

defaults read com.apple.finder QuitMenuItem

#Delete current value

defaults delete com.apple.finder QuitMenuItem && killall Finder