Automic VaultAutomic Vault

brew

Install dockutil with Homebrew, Nix

Tool for managing dock items. Version 3.1.3 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dockutil

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#dockutil

nixpkgs package indexes · pkgs/by-name/do/dockutil/package.nix · source: api.github.com

overview

Package summary

Tool for managing dock items

Commands and aliases

  • dockutil

history

Project history and usage

dockutil is a long-running macOS command-line tool for adding, removing, moving, finding, and listing Dock items across one user, a specific Dock plist, or many home directories.

Project history

The GitHub repository was created in July 2011, making dockutil one of the older macOS administration tools in this batch. Its README describes a CLI for managing Dock items including applications, folders, stacks, and URLs, with operations that can target the current user, a specified plist, a home directory, or all homes.

The changelog shows a long maintenance path through macOS changes: 1.1 improved path handling and restart behavior; 2.0 changed preference handling; 2.0.3 waited for Apple's first-login Dock setup; 2.0.5 fixed macOS 10.12 Dock restart behavior; 3.0.0 rewrote the tool in Swift for macOS 12.3 compatibility; and 3.1.x kept pace with Sonoma-era behavior.

Adoption history

dockutil has been adopted mostly by Mac admins, imaging workflows, onboarding scripts, labs, and managed-device setups that need repeatable Dock state. Its `--allhomes`, plist targeting, and Default User Template examples are signs of fleet-management rather than casual end-user use.

The Homebrew formula remains active and reported stable version 3.1.3, 349 installs in the previous 30 days, and 3,249 installs in the previous year as of June 30, 2026. That is strong relative usage for a narrow macOS administration utility.

How it is used

Common commands include `dockutil --add /Applications/TextEdit.app`, `dockutil --remove 'System Preferences' --allhomes`, `dockutil --move 'System Preferences' --position 2 --allhomes`, `dockutil --list`, and `dockutil --add '' --type spacer`. Options handle position, replacement, Dock section, folder view/display/sort behavior, `--no-restart`, `--allhomes`, and alternate home locations.

Why package nerds care

dockutil is package-nerd significant because it gives admins a scriptable abstraction over a user-interface preference file that Apple changes over time. Its value is not glamour; it is preserving boring, repeatable Dock state across macOS releases and managed-user contexts.

Timeline

  • 2011: GitHub repository created.
  • 2016: 2.0.x releases improved macOS compatibility and Dock restart behavior.
  • 2022: 3.0.0 rewrote dockutil in Swift for macOS 12.3 compatibility.
  • 2024: 3.1.3 fixed Dock restart behavior for macOS 14.4 compatibility.
  • 2026: Homebrew formula API reports stable 3.1.3.

Related projects

  • dockutil is related to macOS Dock preferences, plist-based administration, first-login setup scripts, and Mac fleet-management tools such as Munki, Jamf, and other MDM/onboarding systems that call command-line helpers.
  • It complements Apple's own Dock UI and defaults/plist tooling by exposing Dock-specific operations as stable CLI verbs.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dockutilcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.1.3
manager updated
local dataok
upstreamcurrent
latest detected3.1.3

https://github.com/kcrawford/dockutil

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:dockutil
Version3.1.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dockutil
Homepagehttps://github.com/kcrawford/dockutil
Repositoryhttps://github.com/kcrawford/dockutil
Upstream docshttps://github.com/kcrawford/dockutil#readme
LicenseApache-2.0
Source archivehttps://github.com/kcrawford/dockutil/archive/refs/tags/3.1.3.tar.gz
Uses from macOSswift
Bottleavailable (on arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedockutil
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

dockutil

nix profile install nixpkgs#dockutil
  • normalized package name match
  • Matched by: Dockutil
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/do/dockutil/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment