Use the Arudino IDE.
Add the following to Preferences > Additional Boards Manager URLs:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Install the ESP32 boards from espressif systems.
Install the following libraries:
- Adafruit GFX Library
- Heltec ESP32 Dev-Boards
Select your board and port. Heltec LoRa 32 v2.