Shopware Designer is live→New in Frontic -the Shopware Experience Designer is live→

The Frontic CLI is a command-line interface for interacting with your Frontic account and generating project-specific files, including the auto-generated, type-safe Client SDK.

CLI Features

  • Authentication - Secure browser-based login that stores tokens locally in .frontic-local/ directory.
  • Project Selection - Connect your local environment to specific Frontic projects interactively or via command-line flags.
  • Client SDK Generation - Generate a type-safe JavaScript/TypeScript client from your project schema with full autocomplete support.
  • Multi-Environment Support - Target different environments (develop, preview, production) when generating clients.
  • Project Info - View organization, project, and user information for your connected account.

Client SDK Benefits

  • Type Safety - Full TypeScript types for all API responses and payloads
  • Developer Experience - Autocompletion and type checking for queries specific to your storages and blocks
  • Dynamic Resolution - Automatic API endpoint discovery
  • Built-in Authentication - Header and token management included
  • Performance Monitoring - Convenience methods for tracking API usage

Installation

# Using npx (recommended - always latest version)
npx @frontic/cli@latest login
npx @frontic/cli@latest generate

# Or install globally
npm install -g @frontic/cli
frontic login
frontic generate

Example Workflow

frontic login          # Authenticate via browser
frontic project        # Select your project
frontic generate       # Generate typed client SDK
frontic info           # View account information

Documentation

Full CLI reference at docs.frontic.com/reference/frontic-cli.

One mail when something ships.

Product updates in your inbox, roughly once a week, never more.

Unsubscribe any time, one click.