Skip to content

How-ToOS

How to Set Up Arduino IDE 2 on Windows 11 and Upload Your First Sketch

Arduino IDE 2 is the free, official app for programming Arduino and compatible boards. We show how to install it on Windows 11, add board packages (including ESP32), install libraries, upload your first sketch and use the built-in Serial Monitor, plus fixes for common problems.

By , Systems & Technical Editor

5 min read

How to Set Up Arduino IDE 2 on Windows 11 and Upload Your First Sketch

Arduino boards are one of the easiest ways to start building your own electronics, from a blinking LED to sensors and displays. The free Arduino IDE 2 is the official desktop app for writing code (Arduino calls programs "sketches"), installing support for your board and uploading the result over USB. This guide walks through installing it on Windows 11, adding board packages and libraries, uploading a sketch and reading data back with the Serial Monitor.

This guide is based on Arduino's software download page, the Arduino IDE 2 release notes and source repository on GitHub, Arduino's official IDE 2 tutorials and Espressif's Arduino-ESP32 installation guide, all checked on 4 December 2026.

What you need

  • A 64-bit Windows 10 or Windows 11 PC. Arduino's installation tutorial lists "Win 10 and newer, 64 bits" as the Windows requirement for Arduino IDE 2.

  • An Arduino board (or a compatible board such as an ESP32) and a USB data cable that fits it.

  • An internet connection, so the IDE can download board packages and libraries.

If you're still on Windows 7, Arduino's download page also offers the Legacy IDE (1.8.19), listed as supporting "Win 7 and newer". It's the older 1.x app, though, so use IDE 2 if your PC can run it.

Step 1: Download Arduino IDE 2

  1. Go to the Arduino Software page and find Arduino IDE 2.3.11, the current release listed there.

  2. Choose the Windows download. Arduino publishes the 2.3.11 Windows build on GitHub as a 64-bit .exe installer, an .msi installer and a .zip file, so you can pick whichever format you prefer.

  3. Avoid the Nightly Builds unless you specifically want them: Arduino describes them as "a preview of the incoming release".

Arduino IDE 2 is open source. Its GitHub repository says the app is a major rewrite of the 1.x IDE, built on the Theia IDE framework and Electron, with compiling and uploading handled by an arduino-cli instance running in the background. The code and the executable distributions are licensed under the GNU AGPLv3.

Step 2: Install it

Arduino's tutorial keeps this simple: run the file you downloaded and follow the installer. It notes that "the installation may take several minutes". When it finishes, launch Arduino IDE 2.

If Windows can't see your board later, our guide to fixing "USB device not recognised" in Windows 11 covers cables, ports and drivers, and how to fix Device Manager error codes helps if the board shows up with a warning icon.

Step 3: Install the board package for your board

A board package (also called a core) contains the compiler settings and pin mappings for a family of microcontrollers. Arduino's board manager tutorial explains that, for example, an Arduino UNO with an ATmega328P uses the AVR package, while a Nano 33 IoT with a SAMD21 needs the SAMD package.

  1. Click the board icon in the left-hand column to open the Boards Manager.

  2. Search for your board's name. The matching package should appear with your board in its description.

  3. Click "INSTALL". When it's done, the package shows as "INSTALLED" with its version number.

You may not need to do anything for classic boards: Arduino says the AVR boards package (UNO R3, Nano, Mega 2560, Leonardo, Micro and others) comes pre-installed. The IDE should also prompt you to install the right package when you plug in a board that doesn't have one yet. If you need an older version, pick it from the version drop-down in the Boards Manager and press "INSTALL" again.

Adding ESP32 boards

ESP32 boards aren't in the default list. Espressif's installation guide says to open Preferences, paste its stable release link into the Additional Board Manager URLs field, then open the Boards Manager and install the esp32 platform:

https://espressif.github.io/arduino-esp32/package_esp32_index.json

You can add several URLs to that field, separated by commas. After installing, select your ESP32 board and restart the IDE, as Espressif's guide suggests.

Step 4: Install libraries

Libraries add ready-made code for sensors, displays, Wi-Fi modules and more.

  1. Click the library icon in the left-hand column.

  2. Search for the library you need and click "INSTALL". Arduino says to allow up to a minute.

  3. Open an example from File > Examples > {Library} > {Example} to see how it works.

Step 5: Select your board and upload a sketch

  1. Plug your board in with the USB cable.

  2. Use the drop-down next to the Verify and Upload buttons to select it. Arduino says you'll know there's a connection when the board name appears in bold. If it isn't detected, choose "Select other board and port..." and pick it manually.

  3. Click Verify (the tick icon). This compiles the sketch and checks for errors without uploading, and the result appears in the console at the bottom.

  4. Click Upload (the right-pointing arrow). The IDE compiles the sketch again and sends it to the board. A notification appears in the bottom-right corner when it finishes, along with any errors.

The built-in examples under File > Examples are a good place to start.

Step 6: Use the Serial Monitor

The Serial Monitor lets your board send text back to your PC, which is the easiest way to debug a sketch. In IDE 2 it's built into the editor as a tab where the console is, rather than a separate window.

  1. Start serial communication in your sketch with Serial.begin(9600); - Arduino explains that 9600 is the baud rate.

  2. Print something in loop(), for example with Serial.println("Hello world!");, then upload the sketch.

  3. Open the Serial Monitor and make sure its baud rate matches the one in your sketch.

Because each sketch window has its own Serial Monitor, you can watch two boards at once by opening a second sketch with File > New and selecting a different board and port for it. Arduino notes that several sketch windows and Serial Monitors at once "can be quite heavy on your machine".

Troubleshooting tips

  • Board not detected: try another USB cable and another port, then use "Select other board and port...". Espressif's guide also says to wait for drivers to install when you plug in an ESP32 board, or install any that are required manually.

  • Upload errors: check you selected the right board and port, then run Verify on its own to separate code errors from connection problems. Arduino links to its IDE Support page from the upload tutorial.

  • Wrong or garbled Serial Monitor text: the Serial Monitor's baud rate must match the value in Serial.begin(9600); (or whatever rate your sketch uses).

  • Updating the IDE: Arduino's 2.3.6 release notes say a bug in 2.3.5 stopped automatic updates from triggering, so anyone still on 2.3.5 should download a newer version manually.

Where next

Once you're comfortable, see our Arduino IDE vs PlatformIO comparison if your projects are getting bigger, and our roundup of the best free Arduino and microcontroller software for MicroPython options. If you want to design a custom circuit board for your project, start with our guide to setting up KiCad on Windows.

The bottom line

Arduino IDE 2 is the quickest official route from a new board to working code on a Windows 11 PC: install the 64-bit build, add the board package (or Espressif's URL for ESP32), install any libraries you need, select the board, then Verify and Upload, using the built-in Serial Monitor to check what your sketch is doing.

Sources

  1. 01Arduino: Software downloads
  2. 02Arduino IDE releases on GitHub
  3. 03Arduino IDE 2.3.11 release downloads on GitHub
  4. 04Arduino IDE 2.x source repository on GitHub
  5. 05Arduino Docs: Downloading and installing the Arduino IDE 2 (source on GitHub)
  6. 06Arduino Docs: Installing a Board Package in the IDE 2 (source on GitHub)
  7. 07Arduino Docs: Installing libraries (source on GitHub)
  8. 08Arduino Docs: How to upload a sketch with the Arduino IDE 2 (source on GitHub)
  9. 09Arduino Docs: Using the Serial Monitor tool (source on GitHub)
  10. 10Espressif: Arduino-ESP32 Installing

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Free PCB Design Software for PC in 2026

Best Picks

Best Free PCB Design Software for PC in 2026

The best free PCB design software for PC in 2026: KiCad is our top pick for open-source, account-free board design, EasyEDA is the best browser-based option with a huge LCSC-linked parts library, and LibrePCB is the friendliest choice for beginners.

Hannah Vance5 min