Last updated: November 11, 2026View as Markdown

CLI reference

The CLI is the npm package usefidel. It needs Node 24 or later. Run it with npx, no install needed.

Commands

CommandWhat it does
npx usefidel initSets up the repository: signs you in, finds your design system, asks which pages to check, links the repository, writes fidel.config.json and .github/workflows/fidel.yml, and stages both with git add. Never overwrites an existing workflow file.
npx usefidel loginSigns you in through the browser with email or Google.
npx usefidel linkLinks the repository so CI can authenticate without a stored secret.
npx usefidel unlinkRemoves the link for this repository.
npx usefidel connect-figmaConnects your Figma account, after you sign in. Needed for Figma checks.
npx usefidel telemetry statusShows whether anonymous setup analytics are on. Also disable and enable.
npx usefidel helpShows help. <command> --help works for each command.

Sign-in

login, init and link open the browser. If no browser can open, for example over SSH or in a container, the CLI prints the URL to open instead. Sign-in times out after 5 minutes.

If Fidel has no design system connected for the repository, init opens the browser so you can install the Fidel GitHub App on it and add your design system. Setup continues in the terminal on its own.

Credentials are saved to ~/.fidel/credentials.json, readable only by your user.

Figma is never a way to sign in. Connect it after signing in with connect-figma.

Interactive terminal

init needs an interactive terminal. In CI, nothing needs to run: the workflow and the GitHub App handle each pull request. Coding agents should ask a person to run init. See Set up Fidel with an AI coding agent.

Telemetry

The CLI sends anonymous setup analytics. Turn them off with npx usefidel telemetry disable, or set DO_NOT_TRACK=1 or FIDEL_TELEMETRY=0.