# Steps to install Heltec ESP_HaLow support on Windows
**Tested on 32 and 64 bit Windows 10 machines**

Before operation, please make sure Git and Arduino are correctly installed on you computer. If not, please refer to this document: [How to install Git and Arduino IDE](https://heltec-automation-docs.readthedocs.io/en/latest/general/how_to_install_git_and_arduino.html)

&nbsp;

**Executed commands MUST under the ```[YOUR_USER_NAME]/Documents/Arduino/hardware/heltec``` path!**

- Open a ```Git Bash``` session pointing to ```[YOUR_USER_NAME]/Documents/Arduino/hardware/heltec``` and execute `git clone https://github.com/HelTecAutomation/ESP_HaLow.git esp_halow`

![](win-screenshots/location.png)

 - The final development framework location should be ```[YOUR_USER_NAME]/Documents/Arduino/hardware/heltec/esp_halow_```
 - Switch to the heltec directory via ```cd esp_halow_``` and execute ```git submodule update --init --recursive``` 

&nbsp;

## Finish Arduino ESP32 support on Windows

Open `/Documents/Arduino/hardware/heltec/esp32/tools` and double-click `get.exe`

![](win-screenshots/win-gui-9.png)

When `get.exe` finish, the folder should like this:

![](win-screenshots/esp32-1.png)

Connect your ESP32 board to computer via a high quality USB cable and wait for the CP2102 drivers install automatically (or [install manually](https://heltec-automation-docs.readthedocs.io/en/latest/general/establish_serial_connection.html)).

1. Start Arduino IDE.

2. Select your board in ```Tools > Board``` .

3. Select the COM port that the board is attached to.

   ![](win-screenshots/arduino-ide.png)

4. Example.

   ![](win-screenshots/example.png)

5. Compile and upload (You might need to hold the ```USER``` button while uploading).

&nbsp;

## Update to the latest code

Open ```/Documents/Arduino/hardware/heltec/esp_halow``` created start ```Git Bash``` and input ```git pull```!

![](win-screenshots/git-pull.png)

Wait for git to pull any changes and close `Git Bash`.

Open `/Documents/Arduino/hardware/heltec/esp_halow/tools` and double-click `get.exe`.