Clear OS X Dock Applications

Last modified: 
Sunday, October 21st, 2018
Topics: 
OSX

The following will remove all applications from OS X Dock.* This good for clearing out the dozen or so defaults applications in a hurry.

** One-Liner**

defaults write com.apple.dock persistent-apps -array && killall Dock 

Line by Line

defaults write com.apple.dock persistent-apps -array # Replace dock apps with an empty array
killall Dock # Kill the Dock (It will automatically restart)

*Note, this won't remove open applications, Mojave's recent applications, or the files and trashcan section from the dock.


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.