dockutil Command Examples

Manage macOS dock items. More information: https://github.com/kcrawford/dockutil.

dockutil --add {{path/to/application}}

dockutil --add {{/path/to/application}} --replacing '{{dock_item_label}}'

dockutil --add {{/path/to/directory}} --view {{grid|fan|list|auto}} --display {{folder|stack}}

dockutil --add {{vnc://example_server.local}} --label '{{Example VNC}}' --after {{dock_item_label}}

dockutil --remove '{{dock_item_label}}'

dockutil --add '' --type {{spacer|small-spacer|flex-spacer}} --section {{apps}} --after {{dock_item_label}}

dockutil --remove spacer-tiles