KiCad 6 Guide series

KiCad Paths and Libraries

In this article, you'll learn about the paths and libraries configuration options in the KiCad project window's Preferences menu.

Figure 2.4.1: The Preferences menu.

In the KiCad project window, you will find the paths and libraries configurations options under the Preferences menu item. 

Figure 2.4.1: The Preferences menu.

Figure 2.4.1: The Preferences menu.

Let’s look at each one.

Configure Paths

Bring up the "Configure Paths" window from the Preferences menu.

This window contains a table to environment variables that contain paths to important collections of files. 

Figure 2.4.2: The “Configure Paths” window.

Figure 2.4.2: The "Configure Paths" window.

As you can see in the figure above, there are five path environment variables:

  • KICAD6_3DMODEL_DIR: points to a directory that contains 3D models of components for use by the 3D viewer. Learn more about this in a dedicated section of the course or eBook.
  • KICAD6_3RD_PARTY: points to a directory that contains 3rd party plugins, libraries, and other downloadable content.
  • KICAD6_FOOTPRINT_DIR: points to a directory that contains footprint files for use by Pcbnew. Learn more about this in a dedicated section of the course or eBook.
  • KICAD6_SYMBOL_DIR: points to a directory that contains symbol files for use by Eeschema. Learn more about this in a dedicated section of the course or eBook.
  • KICAD6_TEMPLATE_DIR: points to a directory that contains sheet template files for use by Eeschema. Learn more about this in a dedicated section of the course or eBook.
  • KICAD_USER_TEMPLATE_DIR: points to a directory that contains project template files created by the user. You can use these template files to start a new project quickly. Learn more about this in a dedicated section of the course or eBook.

When you install KiCad, these variables will inherit default values that point to the KiCad application installation folder. You can use the Configure Paths window to change these values. 

For example, my computer has a solid-state drive with a limited amount of available space on it. Because the libraries (especially the 3D models) take several gigabytes of storage, I have opted to use my external RAID drive for those resources. As you can see in Figure 2.4.2 above, the footprint, symbol, and 3D model paths point to my external RAID drive, while the rest point to locations on the internal SSD.

Manage Symbol Libraries

Use the symbol libraries manager to:

  • Add new symbol libraries.
  • Delete symbol libraries.
  • Activate or deactivate symbol libraries.

The Symbol Libraries window contains a list of active or inactive libraries installed in your KiCad instance. Each library may contain one or more schematic symbols. When a library is installed and activated, you can use its symbols in your schematics in Eeschema.

Figure 2.4.3: The “Symbol Libraries” window.

Figure 2.4.3: The "Symbol Libraries" window.

In the figure above, you can see the Symbol Libraries window with several of the libraries installed in my instance of KiCad. 

Notice that:

  • The table contains two tabs: "Global Libraries" and "Project Specific Libraries." You can manage libraries under each tab to control the library visibility (global or project-specific).
  • Each library has a name and a path. The path can use an environment variable, as in the example above. Alternatively, you can set an absolute path to a library; this is often a good option when you want to install a library stored outside the standard environment paths.
  • If you forget the environment variable paths, look at the bottom of the window. In the table "Path Substitutions," you can see the actual path stored in the environment variables.

Learn how to use the symbol libraries manager in a dedicated section in the KiCad Like a Pro 3e course or eBook.

Manage Footprint Libraries

Use the footprint libraries manager to:

  • Add new footprint libraries.
  • Delete footprint libraries.
  • Activate or deactivate footprint libraries.

The Footprint Libraries manager window works similarly to the symbol libraries manager. 

Figure 2.4.4: The “Footprint Libraries” window.

Figure 2.4.4: The "Footprint Libraries" window.

You can control the context of a library by listing them under the "Global Libraries" or "Project Specific Libraries" tab. Each library has a name and a path, and the path may contain an environment variable or an absolute path. 

Learn how to use the footprint libraries manager in a dedicated section in the KiCad Like a Pro 3e course or eBook.

Ready to learn KiCad?

Learn the world's favourite open-source PCB design tool with the world's most comprehensive course

KiCad Like a Pro, 3rd edition is available as a video course or as an eBook.


Choose the version that fits best with your style of learning, or get both to get the full benefit of the video demos plus the details of the eBook.


When you complete KiCad Like a Pro 3e, you'll be able to use KiCad to design and manufacture multi-layer PCBs with highly integrated components and a professional-looking finish.


Work through five projects that give many opportunities to learn and practice all of KiCad's important features.


KiCad Like a Pro 3e contains full sections dedicated to PCB and design principles and concepts. These ensure that you will master the fundamentals so that your PCB project are awesome.


If you are someone who is interested in designing PCBs using KiCad, or moving to KiCad from another CAD application, then KiCad Like a Pro, the video course and eBook, is for you.

We publish fresh content each week. Read how-to's on Arduino, ESP32, KiCad, Node-RED, drones and more. Listen to interviews. Learn about new tech with our comprehensive reviews. Get discount offers for our courses and books. Interact with our community. One email per week, no spam; unsubscribe at any time

Image
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}