By default, the Dock is always visible at the bottom of the screen of your Mac, sometimes taking important screen real estate, especially if you are using a MacBook or MacBook Pro. If like me you don’t like having the Dock permanently showon your screen, you can easily set it up so it automatically hides and shows.
Personally, I mostly use keyboard shortcuts to launch applications, so I rarely use the Dock as a mean to launch an app. Its appearance at the bottom of my Mac is more an annoyance than a convenience, and setting it to auto-hide is actually one of the first options I tweak when setting up a new Mac
How to automatically hide and show the Dock
On your Mac, launch System Preferences, then navigate to the Dock panel. Check the box that reads Automatically hide and show the Dock. The Dock will instantly hide out of view. When needed, simply move your mouse cursor to the bottom of the screen, and the Dock will appear.
Note that this works regardless of the location of your Dock.
Pro tip: make the Dock hide faster
When auto-hide is enabled, you will notice a slight delay before the Dock hides itself. This is somewhat annoying for nitpicky people like me. Fortunately, there is a cool little Terminal trick you can use to make the Dock auto-hide faster. Using this command, the Dock will hide and show instantly. Again, this is one of the first things I tweak when setting up a new Mac.