The IDE

To get started we need to get everything set up

Follow the instructions provided in this link

If you'll follow them correctly you can skip this part

For Linux only

Python 3 is mandatory

Install the pyserial Python module through pip:


sudo apt install python-pip
pip install --user pyserial
    

Install the SDK

Check provided instructions for reference and troubleshooting tips

Open the IDE

For Linux only

Set the user in the correct group with the code via terminal:


		sudo usermod -aG uucp [username] #for Arch
	

If you're running Debian-like OS you will be prompted to be added automatically. Click add

We should see something like this

Open the IDE preferences, from the File menu or by using the Ctrl + , hotkey

Paste the SDK Espressif json URL as shown:


        https://dl.espressif.com/dl/package_esp32_index.json
    
arduino ide preferences
Add support for our board

Go to Tools > Board > Boards Manager...

arduino ide boards window

We have to install "esp32"

To select our board

From Tools > Board select "ESP32 Dev Module"

Then we connect the board,
from Tools > Port we select the port of the board.
It should be named COM1 or similar.

Arduino IDE comes included with several libraries out of the box to manage all of the official board capabilities,but it is possible to install more via the Library Manager

Navigate to Sketch #include libraryLibrary Manager...
or use the Ctrl + Shift + I hotkey

Search and install the following library: