Learn how to remove IDE libraries from your computer.
Uninstall in Library manager
In Arduino IDE 2.0, libraries available in the Library Manager can also be uninstalled there.
-
In the menu bar, click on Tools > Manage Libraries...
-
Search for the library you want to uninstall.
-
Find the library in the search results, which are listed alphabetically.
-
Put your mouse cursor over the INSTALLED label and click UNINSTALL to uninstall the library.
Uninstall using your file manager
Removing the library files directly is the most reliable method that will work for all IDE versions and library types.
Library Manager, "Add .ZIP Library", and manual installs
Most libraries are located in the Sketchbook library folder, including:
- Libraries installed with the Library Manager
- Libraries imported with Sketch > Include library > Add .ZIP library...
- Any other libraries manually moved into the folder
Follow these steps to remove these libraries.
- Open the Sketchbook.
- Go into the
libraries
subfolder. - Delete the folder for libraries you want to uninstall.
- Restart Arduino IDE.
Libraries bundled with board platforms
Some board platforms are packaged with libraries, that are saved within the Arduino15 folder, inside the Arduino15/packages/<vendor>/hardware/<board platform>/<version>/libraries
subfolder.
They are written specifically for the boards of that platform and are only accessible when one of those boards is selected in the Tools > Board menu. They will be removed when uninstalling the board platform. Removing them is not recommended. If doing so, included examples may stop functioning. The libraries will be reinstalled if the package is updated by the Board Manager.
Further reading
For a complete overview of files used by Arduino IDE, see Find sketches, libraries, cores and other files on your computer.