Skip to content

CLI

The CLI package is @vdevai/cli with the vdevai binary:

Terminal window
npm install -g @vdevai/cli
vdevai --help

Until the package is published, build it from the repository:

Terminal window
npm run cli:build
node cli/dist/cli.mjs --help
Terminal window
vdevai "add a health endpoint and a test"

Interactive mode starts when you run vdevai without a prompt. Plain-text mode is selected automatically when stdin is piped, output is redirected, or --json / --yolo is used.

Terminal window
git diff | vdevai "explain this change"
vdevai --json "list the risky parts of this migration"
Terminal window
vdevai auth # configure a provider
vdevai history # browse previous tasks
vdevai config # show current configuration
vdevai mcp add <name> ... # add an MCP server shortcut
vdevai update # check for a newer CLI

New installs use ~/.vdevai. Existing CLI data in ~/.cline is still discovered until ~/.vdevai exists. VDEVAI_DATA_DIR, VDEVAI_LOG_DIR and VDEVAI_DIR override the defaults; the legacy CLINE_* variables are read for migration.