Skip to main content
Intro to IoT Class Docs
Tech TLH Discord Code and Coffee TLH GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Install Arduino IDE 2

Windows & macOS

Arduino pretty much has it covered with the Official Documentation (opens in new tab).

After installing, keep going with: Installing the ESP32 Board Package

Linux

Before You Begin

Make sure your user has permission to access USB serial ports.

In a terminal window, run the following command:

getent group dialout
getent group uucp

If you don’t see your user in the list, you will need to add yourself.

sudo usermod -aG dialout $USER
sudo usermod -aG uucp $USER

There are tricks to reload groups, but just keep it simple and fully log out & back in again.

Installing Arduino IDE 2

In the spirit of keeping things simple, flatpak is highly suggested. Unfortunately snap only has version 1.

sudo dnf install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install cc.arduino.IDE2
sudo apt install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install cc.arduino.IDE2
sudo pacman -S flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install cc.arduino.IDE2

If you want to install the AppImage or zip, it’s best to visit the Official Documentation .

Onward

Everything good? It’s time to install the ESP32 Board Package