Install the design system CLI
Install the CLI
Clone the SDK repository and build from source:
Link the CLI globally so the experiences binary is available on your PATH:
Prerequisites
Before running the CLI, ensure you have the following:
- Node.js 24+ — Installed on your machine.
- pnpm 10.27+ — Installed on your machine.
- A coding agent CLI — One of the following, installed and authenticated:
- Claude Code (
claude) - OpenAI Codex (
codex) - OpenCode (
opencode) - Cursor (
cursor) — Supported via--agent cursor, butexperiences setupcannot install it for you.
- Claude Code (
- A Contentful Management API (CMA) token — Generate one in the Contentful web app under Settings > API keys > Content management tokens.
- A Contentful space with Experiences enabled — Contact your Contentful representative to enable the feature on your space.
Run experiences setup to install a coding agent and configure your Contentful credentials automatically. See Set up your environment.
Set up your environment
Run the interactive setup wizard to install a coding agent and configure your Contentful credentials:

The wizard walks you through the following steps:
- Node.js — Detects nvm or fnm and offers to install Node 24.
- pnpm — Installs via corepack or npm.
- Install and build — Runs
pnpm install && pnpm buildfrom the monorepo root. - Coding agent — Detects claude, codex, or opencode on your PATH. If none are found, presents a menu to install one.
- Contentful credentials — Prompts for CMA token, space ID, environment ID, and optional host. Saves them to
~/.config/experiences/credentials.jsonso they pre-fill in future sessions. The values you save here take precedence overCONTENTFUL_*/EDS_HOSTenvironment variables — env vars only apply where the saved value is empty. - Optional extras — A short series of preference questions:
- AI auto-filter default — Whether the wizard runs the AI scope pre-filter by default. Override per invocation with
--auto-filter/--no-auto-filter. EDS_EXTRACT_CONCURRENCY— Controls how many components are analyzed in parallel. Default is 4.- Custom skill prompt paths — Optional paths to custom
.mdprompts for the select and generate agents. When set, the bundled invariants (utility-wrapper rejection, description rules) don’t apply. - Debug logging default — Whether the CLI writes a JSONL trace of every decision by default. Off by default because traces are verbose. See Debug logging.
NO_COLOR— Set to1to disable ANSI color output. Useful in CI or plain terminals.
- AI auto-filter default — Whether the wizard runs the AI scope pre-filter by default. Override per invocation with
If you have CONTENTFUL_SPACE_ID, CONTENTFUL_ENVIRONMENT_ID, CONTENTFUL_MANAGEMENT_TOKEN, or EDS_HOST set in your shell, setup prints a warning. The values you enter here take precedence; env vars remain a fallback for fields you leave blank.
To skip individual steps:
Verify your environment
To check your environment at any time, run:
Next steps
Continue with these guides:
- Import components — Run the component import pipeline.
- Import design tokens — Import design tokens from your codebase.