Headless Figma CLI for AI coding agents and automated design inspection.
pip install figma-cli==0.1.0 Copy PIP instructions
Requires Python 3.11 or newer. Licensed under MIT.
The package installs two console scripts that run the same entrypoint:
Each reports its own name in --help and --version:
$ figma-cli --version figma-cli 0.1.0 $ figma --version figma 0.1.0 The npm package silships/figma-cli also installs a figma-cli executable. If both are installed, whichever directory comes first on PATH wins. Run command -v figma-cli to check which one you get, or use the figma alias.
Before the first PyPI release, run straight from the repository with uv:
uvx --from git+https://github.com/imperfect-co/figma-cli figma-cli --help From a local checkout:
uvx --from . figma-cli --version Development python -m venv .venv && . .venv/bin/activate pip install -e ".[dev]" ruff check . ruff format --check . pytest tests/ The tests are hermetic: no network access and no Figma token are needed.
Bump __version__ in src/figma_cli/__init__.py, merge, then push a matching tag (v0.1.0 for 0.1.0). The release workflow refuses a tag that does not match __version__, builds the sdist and wheel, runs twine check, and publishes to PyPI through trusted publishing (OIDC, the pypi environment).
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.




