diodeinc/pcb

Command-line PCB design tool: describe schematics in Zener, a Starlark-based language, build the design, manage dependencies, and generate KiCad layout files.

ToolchainOpen sourceActiveECADManufacturing

What it does and how it connects

diodeinc/pcb is a command-line tool for circuit board projects written in Zener, a Starlark-based language for describing PCB schematics. The pcb command builds those designs, manages dependencies, and generates KiCad layout files. It installs through a launcher script on macOS, Linux, or WSL2 (native Windows support is experimental), and the launcher downloads the toolchain selected by each project.

A design is a .zen file that imports modules from a standard library or dependencies, declares nets and power, places parts with packages, and names a board with its layer count and layout path. The commands pcb build and pcb layout produce the design and the KiCad layout. KiCad 10.x is required for layouts, but not for building Zener designs. Documentation and a language reference live at docs.pcb.new.

The README credits KiCad, the starlark-rust library from Meta, and atopile and tscircuit as inspiration. Diode-authored code and docs are MIT licensed except where otherwise noted.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1READMEgithub.com
  2. 2GitHub repo statsapi.github.com
  3. 3Latest releasegithub.com
  4. 4Documentationdocs.pcb.new

Not verified

  • Pricing: none stated for the pcb tool on the repo or docs site; diode.computer states prices for Diode's design service (enterprise from $10,000 per design), not for the tool.
  • Real user voices: recent repo activity is maintainer pull requests.

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.