Step 1: Clone the Repository

Clone the DWM repository from Suckless' Git.

Optionally, if you prefer, use my config which is available on my GitHub.

Step 2: Navigate to the DWM Directory

cd dwm

Step 3: Compile and Install DWM

Compile and install DWM by running:

sudo make clean install

You will need to run this command every time you modify DWM to apply your changes.

Step 4: Set DWM as Your Default Window Manager

Add the following line to the end of your .xinitrc or .xsession file:

exec dwm

Step 5: Additional Configuration (Optional)

Edit the config.h file in the DWM source directory to further customize DWM.

Issues

If you have any issues consult the Arch Linux Wiki or the Suckless Website. Failing that, you can email me for advice although don't expect a response.