Setup arduino ide: https://www.arduino.cc/en/Main/Donate
goto hardware folder and clone NodeMCU: https://github.com/esp8266/Arduino#using-git-version-basic-instructions
clone RF24 lib into library folder: https://github.com/nRF24/RF24
program nodemcu as "nodemcu v1.0" and promicro as 'arduino/genuino'
Nice to have: MCU stack trace decoder: https://github.com/me-no-dev/EspExceptionDecoder