First launch the Terminal app, located in the Utilities folder under Applications, or just hit Cmd + Space and type “Terminal“.
Type (copy & paste) the command below:
defaults delete com.apple.dock; killall Dock |
Then hit return.
Your Dock will now be new as the day it shipped. You are free to mess it up again 🙂