Libraries, Change Default Location

I would like to change the default location of the libraries.
How can this be done.
Thanks

1 Like

Hi @ninob. The globally installed libraries installed via Library Manager, Sketch > Include Library > Add .ZIP Library..., and manual installation are located in the libraries subfolder of the sketchbook folder.

Since the libraries folder is always relative to the location of the sketchbook folder, this means you can change the location of the libraries by changing the location of the sketchbook folder. Follow these instructions to change the sketchbook location:

  1. Select File > Preferences... from the Arduino IDE menus.
  2. Set the Sketchbook location preference to the new location you want for the sketchbook.
  3. Click the OK button.
  4. Select File > Quit from the Arduino IDE menus.
  5. Restart the Arduino IDE.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.