Skip to main content

How to update Arduino IDE?

Published 3 min readMarkdown
Part of seriesArduino
How to update Arduino IDE?

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 Arduino

  • Arduino 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)

  1. Go to the official Arduino website and download the latest Arduino IDE (1.x or 2.x).

  2. Close the Arduino IDE if it’s running.

  3. 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.

  4. 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

  1. Download the newest Arduino IDE .dmg from the official site.

  2. Quit Arduino IDE if it’s open.

  3. Open the .dmg and drag Arduino.app into Applications, replacing the old one.

  4. Your sketches & libraries in ~/Documents/Arduino stay intact.


4. Linux

There are two common cases:

A) Using the official .tar.xz / AppImage / package from Arduino

  1. Download the latest package for Linux from the Arduino site.

  2. Close Arduino IDE.

  3. Extract or place the new version:

    • For .tar.xz, extract and run the included install.sh (if provided), or just run the new arduino/arduino-ide binary.

    • For AppImage, make it executable (chmod +x) and replace your old AppImage.

  4. Your sketches (~/Arduino or ~/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 distro
    
  • flatpak:

      flatpak update
    
  • snap:

      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/Arduino or ~/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/Arduino folder as a quick backup before big updates.

6. After updating

  1. Open Arduino IDE.

  2. Go to Boards Manager and Library Manager:

    • Tools → Board → Boards Manager…

    • Sketch → Include Library → Manage Libraries…

  3. Update any boards/platforms and libraries you use often (e.g. AVR, ESP32, STM32, etc.).

  4. Compile/upload one of your usual sketches to confirm everything works.

No comments yet. Be the first to comment.

More from this blog