Skip to main content

eai dev

Start the local development server with platform connectivity.

Syntax

eai dev [options]

Description

The eai dev command starts a local Next.js development server configured to communicate with the Enterprise AI platform services. By default, it uses Turbopack for faster builds and runs connectivity checks before starting the server.

Options

FlagDescriptionDefault
--port <port>Port number for the local server3000
--turboUse Turbopack for faster development buildstrue
--no-turboDisable Turbopack and use the standard webpack bundler--
--skip-checksSkip platform connectivity checks on startupfalse

Examples

Start with defaults

Start the development server on port 3000 with Turbopack enabled:

eai dev

Custom port

Run the server on a different port:

eai dev --port 3001

Skip platform health checks

If you are working offline or do not need platform connectivity:

eai dev --skip-checks

Disable Turbopack

Fall back to the standard webpack bundler:

eai dev --no-turbo

Prerequisites

Before running eai dev, ensure:

  1. You have installed the CLI.
  2. You have run eai login to authenticate.
  3. You have run eai env pull to sync your local .env.local configuration.

What It Does

When you run eai dev, the CLI:

  1. Connectivity checks (unless --skip-checks is set): Verifies that the platform services (PublicAPI, Configurator, ResourceAPI, AICore) are reachable and your authentication is valid.
  2. Starts the development server: Launches the Next.js dev server with Turbopack (or webpack if --no-turbo is specified).
  3. Hot reloading: Changes to your code are reflected immediately in the browser.