CocoaEngineering
FORMULAv6.8

dwm for macOS

Dynamic window manager

Installation on macOS (Apple Silicon & Intel)

brew install dwm

Package Metadata

Identifierdwm
Current Version6.8
Tap Repositoryhomebrew/core
LicenseMIT
Upstream Homepagehttps://dwm.suckless.org/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (5)

dmenu fontconfig libx11 libxft libxinerama

Engineering Caveats

In order to use the Mac OS X command key for dwm commands,
change the X11 keyboard modifier map using xmodmap (1).

e.g. by running the following command from $HOME/.xinitrc
xmodmap -e 'remove Mod2 = Meta_L' -e 'add Mod1 = Meta_L'&

See also https://gist.github.com/311377 for a handful of tips and tricks
for running dwm on Mac OS X.
Browse macOS Packages A–Z