All apps/defaults

defaults

defaults

Command line interface to a user's defaults on macOS.

Runs as defaults|macOS

Command form

ai-draft · 2 tasks · 5 fields

Read, write or delete preference values.

Opens the form; the finished command lands at your prompt, unrun
otty gui defaults

defaults read

Read a default
Read a defaultExample values, fixed in this page — nothing here reaches a terminal
Basic
Domain*
string
Key
string
TasksEach one presets the form for one job
Read value
domainkey
ParametersOnly these flags are editable in the form
Domain
string · positional 0
-globalDomain
Key
string · positional 1

defaults write

Write a default
Write a defaultExample values, fixed in this page — nothing here reaches a terminal
Basic
Domain*
string
Key*
string
Value*
string
TasksEach one presets the form for one job
Write value
domainkeyvalue
ParametersOnly these flags are editable in the form
Domain
string · positional 0
-globalDomain
Key
string · positional 1
Value
string · positional 2
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed defaults against its version. A form that does not match your version is not offered.