defaults Command Examples

Read and write macOS user configuration for applications. More information: https://keith.github.io/xcode-man-pages/defaults.1.html.

defaults read "{{application}}" "{{option}}"

defaults read -app "{{application}}" "{{option}}"

defaults find "{{keyword}}"

defaults write "{{application}}" "{{option}}" {{-type}} {{value}}

defaults write com.apple.Dock expose-animation-duration -float 0.1

defaults delete "{{application}}"