GDSFactory+ CLI
Two separate programs are called gfp:
- Rust server binary — bundled in the VS Code extension; subcommands documented in Commands below.
- Python SDK CLI — installed with
pip install gdsfactoryplus; subcommands documented in Python SDK CLI below.
Top-Level Usage
--cwd changes the working directory before the command runs.
Commands
gfp hello
Simple smoke test that does not require Python.
gfp python-version
Print the Python version from the configured runtime.
gfp numpy-version
Print the NumPy version from the configured runtime.
gfp venv
Create a .venv using the backend's Python-runtime setup path.
gfp index
Index the current project and print JSON.
Options:
--module: filter to one module--function: filter to one qualified function name--factories: only include factory functions
gfp stats
Print resolution statistics for the current project.
Options:
--factories: only count factory functions--sections: comma-separated sections to show; defaults toresolved,libraries
gfp serve
Start the main backend server.
Notes:
- this is the backend process the VS Code extension spawns
- it serves HTTP endpoints and the stdio JSON-RPC surface
- it also owns server-side project watching and worker orchestration
gfp scm
Schematic-format helpers.
Parse
Parses the input schematic and prints the Rust debug representation.
Convert
Supported conversions currently include:
nyancir -> picymlpicyml -> nyancirpicyml -> dschematicnyancir -> dschematic
gfp code-gen (debug builds only)
Generate TypeScript protocol types from the router.
gfp debug pdks (debug builds only)
Print discovered PDKs from the current project index.
Python SDK CLI
The gdsfactoryplus Python package installs a gfp console script (or python -m gdsfactoryplus.cli). This is a separate program from the Rust binary above.
Commands:
gfp new— create a new project from a templategfp test— build all project cellsgfp check drc— run remote DRCgfp check conn— run connectivity checkgfp check lvs— run LVSgfp export-spice— extract a SPICE netlistgfp parse-spice— convert OptoCompiler SPICE to gdsfactory formatgfp version— show installed package versiongfp configure— write project configurationgfp settings— read/write settingsgfp serve— start the Python SDK server (distinct from the Rustgfp serve)gfp watch— watch the project and rebuild on change
Removed From Older Docs
Older Markdown in this repo mentioned commands like:
gfp verifygfp visualize-3d
Those do not exist in the Rust server binary (crates/gfp-server/src/commands/) or the Python SDK CLI.