Troubleshooting kicad-cli
When checks, netlists, plots or 3D models do not run.
Checks, netlists, plots and 3D models run KiCad’s kicad-cli. If they fail:
- “kicad-cli not found”: set
softforge.edsnx.cliPathto the full path.- Windows:
C:\Program Files\KiCad\9.0\bin\kicad-cli.exe(or8.0,10.0) - macOS:
/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli - Linux:
/usr/bin/kicad-cli(distribution packages and the KiCad PPA); Flatpak: a wrapper script runningflatpak run --command=kicad-cli org.kicad.KiCad "$@".
- Windows:
- Check the version in a terminal:
kicad-cli versionmust print 8.0 or newer. KiCad 7 and older have no (or an incomplete)kicad-cli. - Libraries missing (Update PCB from Schematic reports unknown footprints, the 3D view shows bare
pads): open KiCad once so it writes the global library tables, or point
softforge.edsnx.libraryPathsat the footprint/symbol folders.KICADn_3DMODEL_DIRmust resolve for 3D models. - DRC reports zone fills out of date: press B to refill before running DRC, or run
kicad-cli pcb drc --refill-zonesin a terminal to compare with KiCad’s own fill. - A file written here does not open in an older KiCad: the extension keeps the file’s format version, but parts placed from newer libraries carry newer syntax; open it with the KiCad version that owns the libraries.
- The Output panel (channel Electronics Designer; Electronics Designer Tools for custom tools) shows what the extension ran and the errors it got back.