GitLabCLI

GitLab Duo CLI

GitLab Duo CLI is GitLab's terminal coding agent for understanding projects, editing code, running tests, and integrating AI-assisted work with GitLab development workflows.

Duo can inspect project files and explain their relationships, giving developers repository context before they ask it to change code.

GitLab Duo CLI

Install

$ bash <(curl --fail --silent --show-error --location "https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/raw/main/packages/cli/scripts/install_duo_cli.sh")

Launch

$ duo

What can GitLab Duo CLI do?

Project understanding

It can edit the affected files and run tests, joining implementation and validation in the same terminal session.

Code editing and test runs

Its GitLab integration connects agent work with the repositories and development workflows teams already operate on the platform.

GitLab development workflows

Connect agent work to GitLab repositories and development workflows so code changes, tests, and project activity stay in the same platform context.

Pricing

Business

On-Demand GitLab Credits

$1.00/credit

Business

GitLab Duo Pro

Contact sales

Enterprise

GitLab Duo Enterprise

Contact sales

View full pricing details →

Frequently asked questions

What is GitLab Duo CLI?

GitLab Duo CLI is GitLab's terminal coding agent for understanding projects, editing code, running tests, and integrating AI-assisted work with GitLab development workflows. It is designed to work directly on a real project from a terminal session.

What are the core capabilities of GitLab Duo CLI?

GitLab Duo CLI is most relevant to teams that want project understanding, code changes, and test execution tied directly to their existing GitLab workflow.

How do I install and launch GitLab Duo CLI?

Follow the official setup guide for your operating system, then open the agent from the project directory where it should work.

Which platforms does GitLab Duo CLI support?

It supports macOS, Windows, and Linux. These platforms support local terminal workflows.

Where can I find pricing for GitLab Duo CLI?

Check GitLab's official pricing page for current subscription and usage-credit terms.