This process has been verified against ZSA's qmk_firmware commit 29b5d23. I make no guarantees about any other version.
- Clone ZSA's fork of qmk:
git clone git@github.com:zsa/qmk_firmware
- Run
qmk setupand accept pulling the submodules (the salient one of which is the ZSA one). - Symlink or copy this directory into
keyboards/zsa/moonlander/keymaps/j3rninside the cloned ZSAqmk_firmwarefork, e.g.:ln -s ~/Code/J3RN/moonlander-layout/main ~/Code/zsa/qmk_firmware/keyboards/zsa/moonlander/keymaps/j3rn
- Use the
qmktool to compile the layoutqmk compile -kb zsa/moonlander/reva -km j3rn
- Flash the firmware:
sudo make zsa/moonlander/reva:j3rn:flash