These instrctions may only work the phone I used, a Samsung N7105 aka t0lte but should be applicable to other models with minor modifications.
Make sure that you have adb
available, e.g. by installing the android-tools
package in Arch linux.
Now, download the latest nighly release (image and recovery):
$ wget 'https://download.cyanogenmod.org/get/t0lte-latest.zip' && wget 'https://download.cyanogenmod.org/get/t0lte-latest-recovery.img'
Extract the boot image from the release archive; If you forgot to do this, then you will encounter random errors like that you can't enable wifi anymore, and trust me I've lost some hours of my life fixing this issue :(
$ unzip t0lte-latest.zip boot.img
Reboot you phone into recovery: