Add a Space to the Dock in Mac OS

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile”;}'
killall Dock