CocoaEngineering
FORMULAv4.20260303.1

xdotool for macOS

Fake keyboard/mouse input and window management for X

Installation on macOS (Apple Silicon & Intel)

brew install xdotool

Package Metadata

Identifierxdotool
Current Version4.20260303.1
Tap Repositoryhomebrew/core
LicenseBSD-3-Clause
Upstream Homepagehttps://www.semicomplete.com/projects/xdotool/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (5)

libx11 libxi libxinerama libxkbcommon libxtst

Build Dependencies (1)

pkgconf

Engineering Caveats

You will probably want to enable XTEST in your X11 server now by running:
  defaults write org.x.X11 enable_test_extensions -boolean true

For the source of this useful hint:
  https://stackoverflow.com/questions/1264210/does-mac-x11-have-the-xtest-extension
Browse macOS Packages A–Z