
If you want to remove a spacer, Control-click it and select “Remove from Dock” or drag it out of the Dock. You can then drag the spacer into your preferred location and repeat it as many times as you’d like. Simply enter the command below into Terminal to make Dock apps more spacious.ĭefaults write persistent-apps -array-add ‘’ killall DockĪ new blank space will appear every time you paste the command.

The space command is suitable for separating system applications like Calendar and Finder from other software. If the apps look bundled together, you can add some space between them on the Dock. If you want to disable the mode, run the same command but be sure to replace the “TRUE” with “FALSE.” The only problem you’re likely to encounter under the single app mode is you can’t drag files from one app to another. Enter the command below into Terminal to enable the “Single App” mode.ĭefaults write single-app -bool TRUE killall Dock This mode automatically hides the other apps and leaves the only one you clicked. If you want to operate an app at a time, the single app mode might be the answer. Therefore, if you want to use this command, you need to disable “Show indicators for open applications.” Simply go to “System preferences” and open “Dock & Menu Bar” to make the changes. Also, the “killall Dock” helps restart the Dock to implement the changes. You can change the “TRUE” to “FALSE” in the command to resume the old Dock. Enter this command to activate the feature.ĭefaults write static-only -bool TRUE killall Dock So, if you’re after a minimalist look, this tweak might be all you need. The command will make an app disappear from your Dock once you quit it. If you want your Dock to look more like a Windows taskbar and only include active apps, you can instruct it through the Terminal command. The commands below are tested and proven to work on active macOS versions, including Mojave, Catalina, Big Sur, and Monterey. Execute the changes by opening “Utilities” and finding “Terminal.” You can also launch the Terminal by clicking “Cmd+Space,” type “Terminal,” and hit “Enter.” You don’t have to replace your Mac’s Dock completely when you can use a great little tweak through the Terminal command. The following customizations are built into macOS, but the only way you can enable them is through the Terminal. So, if you find the same old Dock annoying, we’ll show you how to tweak it below. Some of the common changes you can make to the Mac’s Dock include displaying only currently open apps and adding stacks for recent items. Terminal commands are among the best ways to customize your Mac’s Dock.
