
Updating Arduino IDE is pretty painless. Here’s how to do it for each OS and avoid breaking your existing sketches/libraries.
1. Check which version you have
Open Arduino IDE:
Arduino IDE 1.x:
Help → About ArduinoArduino IDE 2.x:
Help → About
If it’s old (or you see an “update available” banner), do the steps below.
2. Windows
A) If you originally used the installer (EXE / MSI)
Go to the official Arduino website and download the latest Arduino IDE (1.x or 2.x).
Close the Arduino IDE if it’s running.
Run the new installer:
Choose the same install location as before (default is fine).
Your sketches and libraries are usually in
Documents\Arduino, which are not deleted.
Finish installation and reopen Arduino IDE.
B) If you installed from the Microsoft Store
Open Microsoft Store → Library → Get updates (or “Update all”).
It will update the Arduino IDE automatically.
3. macOS
Download the newest Arduino IDE
.dmgfrom the official site.Quit Arduino IDE if it’s open.
Open the
.dmgand drag Arduino.app into Applications, replacing the old one.Your sketches & libraries in
~/Documents/Arduinostay intact.
4. Linux
There are two common cases:
A) Using the official .tar.xz / AppImage / package from Arduino
Download the latest package for Linux from the Arduino site.
Close Arduino IDE.
Extract or place the new version:
For
.tar.xz, extract and run the includedinstall.sh(if provided), or just run the newarduino/arduino-idebinary.For AppImage, make it executable (
chmod +x) and replace your old AppImage.
Your sketches (
~/Arduinoor~/Documents/Arduino) are not affected.
B) Installed via a distro package manager / flatpak / snap
apt / dnf / pacman:
sudo apt update sudo apt upgrade arduino # or arduino-ide, depending on distroflatpak:
flatpak updatesnap:
sudo snap refresh arduino
(Exact package name depends on your distro.)
5. Will I lose my projects?
Normally no:
Your sketches live in the sketchbook folder (default:
Documents/Arduinoor~/Arduino).Libraries you added (e.g. via Sketch → Include Library → Manage Libraries) are stored inside that sketchbook folder or in your user profile.
Still, it’s smart to:
- Zip or copy your
Documents/Arduinofolder as a quick backup before big updates.
6. After updating
Open Arduino IDE.
Go to Boards Manager and Library Manager:
Tools → Board → Boards Manager…Sketch → Include Library → Manage Libraries…
Update any boards/platforms and libraries you use often (e.g. AVR, ESP32, STM32, etc.).
Compile/upload one of your usual sketches to confirm everything works.
Comments
Join the discussionNo comments yet. Be the first to comment.




