With the Raspberry Pi single-board computer, you may run a wide range of applications, including the popular Arduino IDE (integrated development environment). This means you can use it to easily program microcontrollers connected to your Raspberry Pi computer via USB to create interactive electronic projects.
Let’s go over how to install and run the Arduino IDE on Raspberry Pi.

What You’ll Require
To run the Arduino IDE on your Raspberry Pi, you’ll need the following components:
Setting Up Raspberry Pi
The Raspberry Pi 4, thanks to its enhanced processing power and ample RAM, is the preferred choice for installing the Arduino IDE. However, the Pi 3 is also up to the task. If you haven’t done so already,install Raspberry Pi OS onto the microSD cardusing the Raspberry Pi Imager tool.
After the installation is complete, insert the microSD card into your Raspberry Pi and connect it to the monitor. If you don’t have a monitor handy, you can still access the Raspberry Pi remotely from another computer via VNC; for more details, seehow to remotely access a Raspberry Pi from your PC.
Downloading the Arduino IDE
The most recent Arduino IDE, version 2.2.1, is exclusively available for x86-64 systems, whereas the Raspberry Pi operates on the ARM architecture. However, the older IDE version 1.8.19 is equally capable and provides support for ARM architecture. First, initiate the terminal by clicking its icon at the top of the desktop environment or by simply pressingCtrl + Alt + T. Then, proceed to download the Arduino IDE using the following command:
Installing the Arduino IDE
After the download is complete, use the command below to extract the necessary files in your current terminal session.
After that, navigate into thearduino-1.8.19directory:
To complete the installation, simply run theinstall.shscript:
Running the IDE
To find and launch the Arduino IDE, click the Raspberry logo located in the top-left corner of the Raspberry Pi OS desktop, then selectProgramming >Arduino IDE. The application will launch and you can start programming with it. As usual, you’ll need to connect a microcontroller board via USB to flash a program to it.
You can even use a Pico microcontroller. Find out to program a Raspberry Pi Pico with the Arduino IDE.
Explore, Experiment, and Innovate
You have successfully set up the Arduino IDE on your Raspberry Pi. You can now upload your Arduino sketches to a connected microcontroller, just as you would with a regular computer.
Within the Arduino IDE, you’ll find a wealth of comprehensive libraries and an extensive array of tools. The IDE simplifies the process of programming microcontrollers, making it accessible and enjoyable.