defaults
Read and write macOS user configuration for applications. More information: https://ss64.com/osx/defaults.html.
-
Read system defaults for an application option:
defaults read "{{application}}" "{{option}}"
-
Read default values for an application option:
defaults read -app "{{application}}" "{{option}}"
-
Search for a keyword in domain names, keys, and values:
defaults find "{{keyword}}"
-
Write the default value of an application option:
defaults write "{{application}}" "{{option}}" {{-type}} {{value}}
-
Speed up Mission Control animations:
defaults write com.apple.Dock expose-animation-duration -float 0.1
-
Delete all defaults of an application:
defaults delete "{{application}}"
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.