sudo apt install -y git python3-pip
python3 -m pip install --user qmk
qmk setup -H ~/src/keyboards/qmk_firmware
Fetch QMK and set up all the symlinks:
./init_qmk.sh
Build all keyboards:
make all
If the keyboard has an RP2040 or similar which creates a disk drive when in flash mode, you can use a command like this or similar, then put the keyboard into flash mode:
sleep 10 && sudo mount -t drvfs D: /mnt/d && cp qmk_firmware/splitkb_aurora_sweep_rev1_tlj_liatris.uf2 /mnt/d