$ 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
-c, --context <NAME>
Docker context to use (see docker context ls); overrides DOCKER_HOST, DOCKER_CONTEXT and the current context

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.4.02026-11-03DOK-UNINSTALL(1)