Skip to content

aix init

Creates a new ai.json file in the current directory.

Terminal window
aix init [flags]
FlagDescription
--force / -fOverwrite existing ai.json if it exists.
--from <editor>Import configuration from an existing editor.

The --from flag allows you to bootstrap ai.json from:

  • cursor
  • vscode
  • windsurf
  • claude-code
  • zed
  • codex

When importing, aix will:

  1. Read the editor’s config files.
  2. Extract rules, prompts, and MCP settings.
  3. Write extracted content to .aix/imported/.
  4. Generate an ai.json linking to those files.

See Import from an Editor for details.