
Getting Started Guide
How to Use Cline
A practical guide to get you up and running with Cline. Written by Delv Editorial, Delv Team.
Getting started with Cline
In this guide, you will learn how to set up Cline, an open-source autonomous coding agent for Visual Studio Code, and start automating your coding tasks effectively.Step 1: Sign up and set up
- Visit the Cline website.
- Click on the Get Started button, which will redirect you to the GitHub repository.
- Follow the instructions in the repository to install the Cline extension in Visual Studio Code. This typically involves downloading the extension from the Visual Studio Code Marketplace.
- Once installed, open Visual Studio Code and find Cline in the Extensions panel (click on the Extensions icon in the sidebar).
- Click on Enable to activate the Cline extension.
Step 2: Your first coding task
- Open a new or existing project in Visual Studio Code.
- In the Command Palette (press
Ctrl + Shift + PorCmd + Shift + Pon Mac), type Cline: Start Coding and select it. - You will be prompted to choose an AI provider. Select either OpenAI, Google Gemini, or a local model that you have set up.
- Begin typing your coding request in the input box that appears. For example, type "Create a function to sort an array".
- Press Enter, and Cline will generate the code based on your prompt. Review and modify the code as necessary.
Step 3: Get better results
- Use clear and specific prompts. Instead of vague requests like "Help me with my code", specify the task: "Write a function to fetch data from an API".
- Familiarise yourself with the Settings panel by clicking on the gear icon next to the extension in the Extensions panel. Here, you can adjust preferences for AI providers and response styles.
- Explore the Cline Documentation available in the GitHub repository for advanced features and examples.