CLI
Install
Section titled “Install”The CLI package is @vdevai/cli with the vdevai binary:
npm install -g @vdevai/clivdevai --helpUntil the package is published, build it from the repository:
npm run cli:buildnode cli/dist/cli.mjs --helpRun a task
Section titled “Run a task”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.
git diff | vdevai "explain this change"vdevai --json "list the risky parts of this migration"Common commands
Section titled “Common commands”vdevai auth # configure a providervdevai history # browse previous tasksvdevai config # show current configurationvdevai mcp add <name> ... # add an MCP server shortcutvdevai update # check for a newer CLIData directories
Section titled “Data directories”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.