add space in mac dock code example
Example 1: space in dock mac
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'
#When the terminal prompt appears again type the following command
killall Dock
Example 2: add spacer to dock macos
# Add spacer to dock
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'
killall Dock