Skip to main content

EVA CLI

EVA CLI is the official command-line tool for EVA Platform. It lets developers and AI agents initialize and run EVA applications from the terminal.

Use EVA CLI to:

  • Sign in to your EVA account.
  • Manage platform resources, including tenants, projects, and API keys.
  • Initialize local projects and optionally download official templates.

To run an official demo before starting development, follow the quick start below. After the demo is running, you can install EVA Skills to help your AI coding assistant follow the latest EVA integration guidance. Skills are installed through skills.sh and are not distributed by this CLI.

Quick Start​

Choose either an AI coding assistant (Start by agent) or terminal commands (Start manually).

See the EVA SDK Skill guide.

Start Manually​

Install the CLI, then run an official starter.

Install​

npm install -g @autoark-ai/eva-cli
eva --version
eva --help

Run an Official Starter​

The shortest path to a running starter is:

eva login # Sign in through your browser
eva init my-demo --template browser # Create a project and download the template
cd my-demo
eva key create my-key # Issue an API key
eva key save # Write the key to .env (EVA_GATEWAY_API_KEY)
npm install
npm run dev
What These Commands Do​
  • eva login: Sign in through your browser.
  • eva init my-demo --template browser: Create the local my-demo directory, clone the official browser quickstart template, and create ./my-demo/.eva. Do not delete this directory. This command does not issue an API key.

Use eva template list to see all supported templates.

  • eva key create: Issue an API key and print its complete plaintext value once.
  • eva key save: Write the API key to .env as EVA_GATEWAY_API_KEY. The plaintext value is written to the file and is not printed to the terminal.
  • npm install: Install the template's SDK dependencies from npm. The browser template uses @autoark-ai/eva-client-sdk-ts.
  • npm run dev: Start the application.

Once the app is running, continue developing it. If a command fails, see Troubleshooting below.

Initialize a Project Without an Official Starter​

Initialize a local project, then continue development with your coding assistant:

eva login
eva init my-demo # Create/bind a project and write .eva/project.json; no key or .env
cd my-demo
eva key create my-key # Issue an API key; its complete value is shown once
eva key save # Write EVA_GATEWAY_API_KEY to .env without printing the key

Without --template, eva init my-demo does not download a template. It creates ./my-demo/.eva; do not delete this directory. Continue development using the CLI or an AI coding assistant.

eva template list # List supported templates
eva template pull browser # Download a template here; use --dir for another directory

eva template pull checks that the target directory is empty, ignoring .env and .eva. If it is empty, the template is downloaded there. Otherwise, the command reports that the target must be an empty directory.

Manage Projects and Keys​

Only users on Plus or higher plans can create additional cloud projects for resources such as API keys. Use these commands:

eva project create my-project # Create a cloud project; unavailable on Basic
eva project use <projectId> # Switch the CLI context (the default is the default project)
eva key create my-key # Create a key in the current project; show plaintext once
eva key save # Write EVA_GATEWAY_API_KEY to .env in the current directory

Troubleshooting​

The eva Command Is Not Available​

Reinstall globally and check that npm's global executable directory is on PATH:

npm install -g @autoark-ai/eva-cli
which eva # Print the installed path; use where eva on Windows
# If which/where cannot find eva, locate the global prefix:
npm prefix -g # Executables are in <prefix>/bin, or the prefix itself on Windows

Cannot Sign In​

If the login command does not open a browser, run eva login --no-open and copy the printed URL into a browser on your machine.

Template Download Fails​

The browser quickstart is cloned from a public GitHub repository over HTTPS; no SSH key is required. Check your network connection, or override the Git source with --from:

eva template pull browser --dir my-demo --from <git-url|local-path>

npm install Cannot Find the SDK​

npm install resolves @autoark-ai/eva-client-sdk-ts from npm. Check that your TypeScript project's package.json declares the SDK dependency and that your machine can access the npm registry.

Unexpected Project or Credential State​

Check your login state and current context:

eva auth status # Login state and token expiration time
eva whoami # Current identity
eva project current # Current project
eva key list # Masked keys in the current project

Command Overview​

CommandDescription
eva login / logout / whoamiSign in through a browser, sign out, or show the current identity
eva auth statusShow login state and token expiration time
eva tenant init / list / use / currentInitialize the default tenant, list tenants, switch tenants, or show the current tenant
eva project list / create / use / current / archiveList, create, switch, show, or archive projects
eva key create / list / rm / show / saveIssue, list masked keys, revoke, show plaintext, or save a key to .env
eva init <name>Create/bind a project and write .eva/project.json; does not issue a key or write .env. Add --template <id> to download a template
eva template list / pullList or download templates without signing in
eva agent list / create / show / update / publish / rmList, create with a configuration wizard, view, update, publish, or delete agent configurations
eva tool list / create / show / rmList, create with a connectivity check, view, or delete custom MCP tools

Use eva <command> --help for subcommands and options.

See the EVA CLI command reference for details.