Cline CLI
Cline CLI allows you to run agentic coding workflows directly from your terminal shell. By connecting Cline CLI to local GoingMerry endpoints, you can execute code generation and repository refactoring loops completely offline.
1. Setup
Install the Cline CLI utility via npm:
npm install -g @cline/cli
2. Configuration Mappings
Configure the CLI tool to use local API ports. Cline CLI parses local environment variables:
export CLINE_API_PROVIDER="merry"
export CLINE_MERRY_URL="http://localhost:11434"
export CLINE_MODEL="gemma4"
3. Running Agentic Workflows
Initiate a task using the cline command:
cline "refactor index.js to use modern ES6 export syntax"
The CLI agent will boot, connect to your local model, analyze the repository layout, and write the diffs directly to the filesystem.