1 Read me first
After installing, you'll have an
xmonad binary on your system. From there, you'll need to wire xmonad up to your login manager.
$ pacman -S xmonad # for the core package $ pacman -S xmonad-contrib # for the contrib package
See xmonad on ArchWiki for more info.
$ emerge xmonad-contrib # the contrib package depends on xmonad so it gets also installed
if you only want to install xmonad without contrib you could use: $ emerge xmonad
2.8 Source Mage
$ apt-get install xmonad # for the xmonad binary $ apt-get install libghc6-xmonad-dev # to allow configuration through xmonad.hs $ apt-get install libghc6-xmonad-contrib-dev # for all of the contrib modules
Note: On Hardy Heron and earlier, the libghc6-x11-dev package was compiled without Xinerama support. This means that if you want multi-monitor support, you will either need to upgrade to Intrepid Ibez or compile xmonad (and the Haskell X11 library on which it depends) from tarball.
xmonad is in the ports tree. To install it,
sudo pkg_add xmonad
4 Mac OS X
5 Generic (from tarball)
6 Generic (from Hackage)
xmonad can be installed from source on any system with an up-to-date Haskell toolchain:
$ cabal install xmonad