-
Install XQuartz.
-
Install dwm using Homebrew (or whatever):
brew install dwm
-
Create a
xinitrc.d
script for dwm:mkdir ~/.xinitrc.d echo "USERWM=/usr/local/bin/dwm" > ~/.xinitrc.d/00-dwm.sh chmod +x ~/.xinitrc.d/*
-
Run XQuartz, dwm should start.
It might be useful to tweak some XQuartz settings (just press ⌘,) like full screen, clipboard, etc.
Hey angel333, I want to thank you for this! I've been trying to get twm(don't ask why) running on my iMac and your suggestion did it! I now have an iMac that at the click of the X icon, looks like it's 30 years old! I love it!