$ dok uninstall

Remove dok, or print the command that does

Synopsis

dok uninstall [OPTIONS]

Description

Removes dok the way it was installed. A standalone binary deletes itself. A packaged one is left to its manager, and that manager's removal command is printed.

--purge also removes ~/.config/dok and ~/.cache/dok. --dry-run lists what would go and removes nothing.

Options

--purge
Also remove ~/.config/dok and ~/.cache/dok
--dry-run
List what would be removed and stop
-y, --yes
Remove without asking

Every command also takes the global options: --json, --color, --icons and --theme.

Examples

$ dok uninstall --dry-run  # list, remove nothing
$ dok uninstall --purge  # and the config and cache

See also

dok-update(1), dok(7)

dok 0.3.02026-09-27DOK-UNINSTALL(1)