# Position

Set the Dock position

  • Tested on macOS:
    • Big Sur
    • Catalina
    • Mojave
  • Parameter type: string
    • left
    • bottom
    • right

# Set to left

defaults write com.apple.dock orientation -string left && killall Dock

Example output with value set to left

  • Put the Dock on the left of the screen

# Set to bottom (default value)

defaults write com.apple.dock orientation -string bottom && killall Dock

Example output with value set to bottom

  • Put the Dock on the bottom of the screen

# Set to right

defaults write com.apple.dock orientation -string right && killall Dock

Example output with value set to right

  • Put the Dock on the right of the screen

# Read current value

defaults read com.apple.dock orientation

# Delete current value

defaults delete com.apple.dock orientation && killall Dock