Learn where sketches, libraries, board platforms, and application files used by Arduino IDE are stored on your computer.
Sketchbook
All sketches created will be saved in the sketchbook folder of your computer.
By default the Sketchbook is located in these directories:
- Windows:
C:\Users\{username}\Documents\Arduino
- macOS:
/Users/{username}/Documents/Arduino
- Linux:
/home/{username}/Arduino
You can also find the location in Preferences, under Sketchbook location:
- Windows/Linux:
File > Preferences
. - macOS:
Arduino > Preferences
Libraries
Libraries installed with the Library Manager are stored inside the Sketchbook.
-
Open the
libraries
.
By default the Sketchbook is located in these directories:
- Windows:
C:\Users\{username}\Documents\Arduino\libraries
- macOS:
/Users/{username}/Documents/Arduino/libraries
Libraries included with the IDE 1.8 download are located in the installation folder.
Board platforms and cores
Board platforms installed with the Board Manager are stored inside the Arduino15 folder.
-
Open
packages
. -
Open the package vendor folder, e.g.
arduino
. -
Open
hardware
.
Full paths:
- Linux:
~/.arduino15/packages/{vendor}/hardware/{package}
- Windows:
C:\Users\{username}\AppData\Local\Arduino15\packages\{vendor}\hardware\{package}
- macOS:
/Users/{username}/Library/Arduino15/packages/{vendor}/hardware/{package}
Board platforms included with the IDE 1.8 download, such as avr
, are located in the installation folder.
Arduino15 folder
The Arduino15 folder contains board platforms and cores, as well as preferences for the IDE interface.
Windows
For a standard Arduino IDE installation:
C:\Users\{username}\AppData\Local\Arduino15
If you installed Arduino IDE from the Windows Store:
C:\Users\{username}\Documents\ArduinoData\packages
macOS
-
Open Finder.
-
In the menu, click Go.
-
Hold the option key. A Library row will appear in the menu. Click it.
-
Within the Library folder, open
Arduino15
.
Full path: /Users/{username}/Library/Arduino15
Linux
The folder is located in home/{username}/.arduino15
and is hidden by default. To show it, click the hamburger button and check Show Hidden Files. You may have to scroll down to see it since files with the .
prefix may be listed after the others.
Note: By default the folder is hidden; therefore, if you're unable to locate the Arduino15 folder please refer to the bottom of the page.
Arduino IDE installation folder
Here one can find installation/uninstallation or debugging executable files. Additionally, you will find files drivers, board platforms, and libraries included with the download.
Windows
Arduino IDE is installed in C:\Program Files (x86)\Arduino\
by default.
macOS
-
Open the Applications folder.
-
Right-click the Arduino application, then click Show Package Contents.
-
Most content of interest is within the
Java
folder.
Full path: /Applications/Arduino.app/Contents/Java
Linux
The application files are located wherever they were extracted in the installation process.
If you need help finding it you can follow these steps:
-
Open Terminal.
-
Enter the following command and check the output.
whereis arduino
-
The output will probably point to a shortcut. Enter the following command to get the actual path.
readlink <path>