See the wiki about hardware.
install esp-idf into ~/esp/esp-idf using these instructions. Connect the usb cable to the esp32c3 dev board, then run
cd ~/esp
git clone https://github.com/aavogt/thread_die_turner.git
cd thread_die_turner
. ~/esp/esp-idf/export.sh
idf.py build flash monitor