This site uses cookies. By using this site, you agree to our use of cookies. Learn more

Command Line

A Circuit Diagram command line application is available for performing operations on circuits and components. It can also be used with the Visual Studio Code extension.


Download the command-line application for your platform from the downloads page. Once you have downloaded this, follow the additional instructions for your platform below.

  1. Extract the contents of the .zip file
  1. Extract the contents of the .tar.xz file
  2. Ensure you have libfontconfig1 installed:
    apt-get install libfontconfig1
  3. Download from the SkiaSharp project releases
  4. Place in the same directory as the extracted files from step (1)


For full usage information, run circuit-diagram-cli --help.

Render a Circuit

Rendering a CDDX circuit requires a copy of the components used in that circuit to be available. Download any components that you need (or all of the components) and place them in a local directory.

The following command renders a CDDX circuit as a PNG image.

circuit-diagram-cli circuit --components path/to/components/directory -o render.png circuit.cddx

The dimensions of the rendered image are determined by the dimensions of the input circuit.