Files
cline-multi-mirror/docs/cline-cli/installation.mdx
T
16e1c02b98 add cli docs (#6836)
* ready for review

* WIP: late-breaking cli arg change fix-ups (still more to double-check)

* updates for late-breaking CLI changes

* updated docs to match yesterday's usage updates

* docs(cli): restructure documentation and add dedicated installation guide

- Extract installation instructions into separate installation.mdx page
- Simplify overview.mdx to focus on use cases and getting started
- Improve cli-reference.mdx with quick help commands section
- Reorganize content for better information architecture
- Make documentation more user-friendly and action-oriented

This restructuring separates concerns: installation details are now in their
own page, the overview focuses on what Cline CLI can do, and the reference
page is more accessible with inline help examples before the full manual.

---------

Co-authored-by: Juan Pablo <juan@cline.bot>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-10-16 10:07:11 -07:00

49 lines
1.1 KiB
Plaintext

---
title: "Installation"
description: "Install Cline CLI and authenticate with your account"
---
<Tabs>
<Tab title="NPM">
```bash
npm install -g cline
```
</Tab>
<Tab title="CURL">
```bash
curl -fsSL https://raw.githubusercontent.com/cline/cline/main/scripts/install.sh | bash
```
</Tab>
</Tabs>
After installation, authenticate with your Cline account:
```bash
cline auth
```
This starts an authentication wizard to sign you in and configure your preferred AI model provider.
## Quick Start
Get started with Cline in seconds:
```bash
cline
```
That's it! Running `cline` in any directory starts an interactive session where you can chat with the AI agent. Type your task, review the plan, and type `/act` when ready to execute.
For even faster execution without interaction:
```bash
cline "Add unit tests to utils.js"
```
This runs Cline with a single command, perfect for quick tasks or automation.
<Tip>
New to Cline CLI? Start with interactive mode (`cline`) to see how it works. Once comfortable, explore [the three core flows](/cline-cli/three-core-flows) for advanced usage patterns.
</Tip>