Arduino ESP32 support on Windows and Ubuntu

Arduino ESP32 support on Windows

This article based on Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation. Visit this github link

Tested on 32 and 64 bit Windows 10 machines

  1. Download and install the latest Arduino IDE Windows Installer from
  2. Download and install Git from
  • If you don’t install Git,you choose dowload zip from the home page and Unzip the file to /Documents/Arduino/hardware/heltec ,Skip steps three to step four
  1. Execute the command under the \Documents\Arduino\hardware path Start Git Bash and run through the following steps:
    • Input git clone heltec
  2. Open /Documents/Arduino/hardware/heltec/esp32/tools and double-click get.exe
  3. When get.exe finishes, you should see the following files in the directory
  4. Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
  5. Start Arduino IDE
  6. Select your board in Tools > Board menu WiFi_Kit_32or WiFi_LoRa_32
  7. Select the COM port that the board is attached to
  8. Compile and upload (You might need to hold the PRG button while uploading)Arduino IDE Example

How to update to the latest code

  1. Open /Documents/Arduino/hardware/heltec created start Git Bash and input git pull!
  2. Wait for git to pull any changes and close Git Bash
  3. Open /Documents/Arduino/hardware/heltec/esp32/tools and double-click get.exe

Installation instructions for Debian / Ubuntu OS

  • Install latest Arduino IDE from
  • Open Terminal and execute the following command (copy->paste and hit enter):
    sudo usermod -a -G dialout $USER && \
    sudo apt-get install git && \
    wget && \
    sudo python && \
    sudo pip install pyserial && \
    mkdir -p ~/Arduino/hardware && \
    cd ~/Arduino/hardware && \
    git clone heltec && \
    cd heltec/esp32 && \
    git submodule update --init --recursive && \
    cd tools && \
    python && \
    cd ~/Arduino/hardware/heltec/esp8266 && \
    git submodule update --init --recursive && \
    cd tools && \
  • Restart Arduino IDE
  • If you have installed to /Applications/, modify the installation as follows, beginning at mkdir -p ~/Arduino...:
  cd /Applications/Arduino_*/Contents/java/
  mkdir -p hardware && \
  cd hardware && \
  git clone heltec && \
  cd heltec/esp32 && \
  git submodule update --init --recursive && \
  cd tools && \
  python && \
  cd /Applications/Arduino_*/Contents/java/hardware/heltec/esp8266 && \
  git submodule update --init --recursive && \
  cd tools && \

Read this Article for NodeMCU Arduino Support

Arduino Support for ESP8266 with simple test code

Hi, I'm Harshvardhan Mishra. Tech enthusiast and IT professional with a B.Tech in IT, PG Diploma in IoT from CDAC, and 6 years of industry experience. Founder of HVM Smart Solutions, blending technology for real-world solutions. As a passionate technical author, I simplify complex concepts for diverse audiences. Let's connect and explore the tech world together! If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee! Thank you for reading my blog! Happy learning! Linkedin
Back To Top