Where Is The Arduino Tools Library Folder Mac

This is a common source of confusion on Windows and Mac machines, your sketchbook folder is not named 'sketchbook' it is named 'Arduino'! User installed libraries should go in a folder named Libraries, located inside your sketchbook folder. Mar 12, 2020 There’s a reason that the Library folder on your Mac is tucked away out of site. This all-important folder holds files that your system uses like containers, application scripts, font files, caches, and other types of files. Apple hides this folder by default to reduce the risk of accidental.

Installing Additional Arduino Libraries

On this page... (hide)

  • How to Install a Library

Once you are comfortable with the Arduino software and using thebuilt-in functions, you may want to extend the ability of your Arduinowith additional libraries.

Where Is The Arduino Tools Library Folder Mac 10

What are Libraries?

Libraries are a collection of code that makes it easy for you to connect to a sensor, display, module, etc. For example, the built-in LiquidCrystal library makes it easy to talk to character LCD displays. There are hundreds of additional libraries available on the Internet for download. The built-in libraries and some of these additional librariesare listed in the reference. To use theadditional libraries, you will need to install them.

How to Install a Library

Using the Library Manager

To install a new library into your Arduino IDE you can use the Library Manager (available from IDE version 1.6.2).Open the IDE and click to the 'Sketch' menu and then Include Library > Manage Libraries.

Then the Library Manager will open and you will find a list of libraries that are already installed or ready for installation. In this example we will install the Bridge library. Scroll the list to find it, click on it, then select the version of the library you want to install. Sometimes only one version of the library is available. If the version selection menu does not appear, don't worry: it is normal.

Finally click on install and wait for the IDE to install the new library. Downloading may take time depending on your connection speed.Once it has finished, an Installed tag should appear next to the Bridge library. You can close the library manager.

You can now find the new library available in the Sketch > Include Library menu.If you want to add your own library to Library Manager, follow these instructions.

Where Is The Arduino Tools Library Folder Mac Version

Importing a .zip Library

Libraries are often distributed as a ZIP file or folder. The name of the folder is the name of the library. Inside the folder will be a .cpp file, a .h file and often a keywords.txt file, examples folder, and other files required by the library. Starting with version 1.0.5, you can install 3rd party libraries in the IDE. Do not unzip the downloaded library, leave it as is.

In the Arduino IDE, navigate to Sketch > Include Library > Add .ZIP Library. At the top of the drop down list, select the option to 'Add .ZIP Library'.

You will be prompted to select the library you would like to add. Navigate to the .zip file's location and open it.

Return to the Sketch > Include Library menu. menu. You should now see the library at the bottom of the drop-down menu. It is ready to be used in your sketch.The zip file will have been expanded in the libraries folder in your Arduino sketches directory.

NB: the Library will be available to use in sketches, but with older IDE versions examples for the library will not be exposed in the File > Examples until after the IDE has restarted.

Where Is The Arduino Tools Library Folder Mac Pro

Manual installation

When you want to add a library manually, you need to download it as a ZIP file, expand it and put in the proper directory. The ZIP file contains all you need, including usage examples if the author has provided them. The library manager is designed to install this ZIP file automatically as explained in the former chapter, but there are cases where you may want to perform the installation process manually and put the library in the libraries folder of your sketchbook by yourself.
You can find or change the location of your sketchbook folder at File > Preferences > Sketchbook location.


Go to the directory where you have downloaded the ZIP file of the library


Extract the ZIP file with all its folder structure in a temporary folder, then select the main folder, that should have the library name


Copy it in the “libraries” folder inside your sketchbook.


Start the Arduino Software (IDE), go to Sketch > Include Library. Verify that the library you just added is available in the list.


Please note: Arduino libraries are managed in three different places: inside the IDE installation folder, inside the core folder and in the libraries folder inside your sketchbook. The way libraries are chosen during compilation is designed to allow the update of libraries present in the distribution. This means that placing a library in the “libraries” folder in your sketchbook overrides the other libraries versions.
The same happens for the libraries present in additional cores installations. It is also important to note that the version of the library you put in your sketchbook may be lower than the one in the distribution or core folders, nevertheless it will be the one used during compilation. When you select a specific core for your board, the libraries present in the core’s folder are used instead of the same libraries present in the IDE distribution folder.
Last, but not least important is the way the Arduino Software (IDE) upgrades itself: all the files in Programs/Arduino (or the folder where you installed the IDE) are deleted and a new folder is created with fresh content.
This is why we recommend that you only install libraries to the sketchbook folder so they are not deleted during the Arduino IDE update process.


This tutorial based on text by Limor Fried.
Last revision 2017/02/07 by SM


The text of the Arduino getting started guide is licensed under aCreative Commons Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public domain.

ARDUINO COMPATIBLES/LEARN ARDUINOARDUINO COMPATIBLES/ADAFRUIT METRO

'xxxx' does not name a type

Where Is The Arduino Tools Library Folder MacThis is the most common library related error message and it means that the compiler could not find the library. This can be due to:
  • Library is not Installed (see previous pages in this guide)
  • Wrong Folder Location
  • Wrong Folder Name
  • Wrong Library Name
  • Library Dependencies
  • Forgot to Shutdown the IDE
See below for solutions to these problems.

Wrong Folder Location

The IDE will only find standard libraries and librariesinstalled in the sketchbook Libraries folder.It will not be able to find libraries installed elsewhere.

The Library folder must be at the top level of the Librariesfolder. If you put it in a sub-folder,the IDE will not find it.

Note: Some third-party library repositories have different folder structures. You may need to re-arrange things to make sure that the library files are at the top level of the folder. WaveHC is one example of this. The actual library folder is a folder within the top-level repository folder.

Don't have a 'Sketchbook' folder

It is there. But on a Windows or Mac/OSX machine it may not be named 'Sketchbook'. See the page titled 'Where to Install your Libraries'.

Incomplete Library

You must download and install the entire library. Do not omit or alter the names of any filesinside the library folder.

Wrong Folder Name

The IDE will not load files with certain characters in thename. Unfortunately, it doesn’t like thedashes in the zip files names generated by Github. When you unzip the file, rename the folder sothat it does not contain any ‘illegal’ characters. Simply replacing each dash (‘-‘) with andunderscore (‘_’) usually works.

Wrong Library Name

The name specified in the #include of your sketch must matchexactly (including capitalization!) the class name in the library. If it does not match exactly, the IDE willnot be able to find it. The example sketches included with the library will have the correct spelling. Just cut and paste from there to avoid typos.

Multiple Versions

If you have multiple versions of a library, the IDE will tryto load all of them. This will result incompiler errors. It is not enough tosimply rename the library folder. It mustbe moved outside of the sketchbookLibraries folder so the IDE won’t try to load it.

Library Dependencies

Where Is The Arduino Tools Library Folder Mac El Capitan

Some Libraries are dependent on other libraries. For example, most of the Adafruit GraphicDisplay libraries are dependent on the Adafruit GFX Library. You must have the GFX library installed touse the dependent libraries.

“Core” Libraries

Some libraries cannot be used directly. The GFX library is a good example ofthis. It provides core graphics functionalityfor many Adafruit displays, but cannot be used without the specific driverlibrary for that display.

Forget to shutdown the IDE

The IDE only searches for libraries at startup. You must shut down ALL instances of the IDEand restart before it will recognize a newly installed library.

This guide was first published on Feb 16, 2013. It was lastupdated on Feb 16, 2013.

Where Is The Arduino Tools Library Folder Mac Sierra

This page (Common Library Problems) was last updated on Apr 10, 2020.