overview.mdx 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. ---
  2. title: "Overview"
  3. description: "Install the CLI, run your first task, and learn to automate code reviews and integrate AI agents into your development workflow"
  4. ---
  5. <Warning>
  6. **Preview Release - macOS and Linux Only**
  7. Cline CLI is currently in preview and only available for macOS and Linux users. Windows support is coming soon.
  8. </Warning>
  9. ## What is Cline CLI?
  10. Cline CLI runs AI coding agents directly in your terminal. Pipe git diffs for automated code reviews in CI/CD, run multiple instances simultaneously for parallel development, or integrate Cline into your existing shell workflows.
  11. The CLI tracks instances across your system and outputs in formats designed for both humans and scripts—JSON, plain text, or rich terminal output.
  12. <Tip>
  13. Ready to get started? Check out the [installation guide](/cline-cli/installation) to install Cline CLI and run your first task.
  14. </Tip>
  15. ## Supported Model Providers
  16. Cline CLI supports multiple AI model providers, giving you flexibility in choosing the best model for your needs:
  17. - **Anthropic**
  18. - **OpenAI**
  19. - **OpenAI Compatible**
  20. - **OpenRouter**
  21. - **X AI (Grok)**
  22. - **AWS Bedrock**
  23. - **Google Gemini**
  24. - **Ollama**
  25. - **Cerebras**
  26. During installation, you'll authenticate and configure your preferred provider using the `cline auth` command.
  27. ## What you can build with this
  28. **Automated code maintenance**
  29. - Schedule daily runs to identify and fix linting issues across your codebase
  30. - Create tasks that scan for security vulnerabilities and automatically patch them
  31. - Build scripts that update deprecated dependencies and run tests
  32. **Multi-instance development**
  33. - Run separate Cline instances for frontend and backend simultaneously
  34. - Spawn instances for different feature branches, each with isolated state
  35. - Create parallel review processes for multiple PRs
  36. **Custom workflows**
  37. - Build shell scripts that combine Cline with git hooks for pre-commit analysis
  38. - Create custom commands that pipe complex data structures through Cline for processing
  39. - Integrate with your existing toolchain (jq, grep, awk) for sophisticated automation
  40. **CI/CD integration**
  41. - Add Cline to GitHub Actions for automatic code review on every PR
  42. - Create GitLab pipelines that generate migration scripts from schema changes
  43. - Build Jenkins jobs that use Cline to analyze test failures and suggest fixes
  44. ## Hooks integration
  45. [Hooks](/features/hooks/index) let you inject custom logic into Cline's workflow to validate operations and enforce policies. You can enable hooks when running tasks from the command line:
  46. ```bash
  47. # Enable hooks for a task
  48. cline "What does this repo do?" -s hooks_enabled=true
  49. # Configure hooks globally via CLI
  50. cline config set hooks-enabled=true
  51. ```
  52. This allows you to integrate hooks into automated workflows, CI/CD pipelines, and headless task execution for consistent enforcement across all environments.
  53. ## Learn more
  54. <Columns cols={2}>
  55. <Card title="Installation" icon="download" href="/cline-cli/installation">
  56. Install Cline CLI and authenticate with your account to get started.
  57. </Card>
  58. <Card title="Three Core Flows" icon="route" href="/cline-cli/three-core-flows">
  59. Master the three ways to use Cline CLI: interactive mode, headless automation, and multi-instance parallelization.
  60. </Card>
  61. </Columns>