npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gitlab/duo-cli

v8.76.0

Published

GitLab Duo for your command line

Readme

GitLab Duo CLI (experimental)

GitLab Duo for your command line. An AI-powered CLI tool that brings GitLab Duo Chat (Agentic) to your terminal.

The GitLab Duo CLI can help you:

  • Understand your codebase structure, cross-file functionality, and individual code snippets.
  • Build, modify, refactor, and modernize code.
  • Troubleshoot errors and fix code issues.
  • Automate CI/CD configuration, troubleshoot pipeline errors, and optimize pipelines.
  • Perform multi-step development tasks autonomously.

This tool is experimental and some features might not work as expected.

Installation

Prerequisites:

To install the GitLab Duo CLI globally, run:

npm install -g @gitlab/duo-cli

Alternative: Install using installation script

You can use the installation script to install the GitLab Duo CLI without Node.js:

macOS and Linux

bash <(curl -fsSL "https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/raw/main/packages/cli/scripts/install_duo_cli.sh")

Windows

irm "https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/raw/main/packages/cli/scripts/install_duo_cli.ps1" | iex

This script will:

  1. Detect your platform (OS and architecture)
  2. Download the appropriate GitLab Duo CLI binary
  3. Install it to ~/.local/bin/duo
  4. Update your PATH if needed

For non-interactive installation (useful for CI/CD):

curl -fsSL https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/raw/main/packages/cli/scripts/install_duo_cli.sh | bash -s -- -y

To install a specific version:

curl -fsSL https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/raw/main/packages/cli/scripts/install_duo_cli.sh | bash -s -- --version 1.2.3

After installation, you can run the GitLab Duo CLI using the duo command.

Updating

To update to the latest version:

npm install -g @gitlab/duo-cli@latest

Usage

Interactive Mode (TUI)

Start the interactive terminal UI:

duo

Alternatively, you can run the GitLab Duo CLI without installing:

npx -y @gitlab/duo-cli

To run a workflow in headless mode, use the command duo run:

[!warning] Headless mode bypasses manual tool approval. Use this mode with caution and in a controlled sandbox environment.

duo run --goal "Your goal or prompt here"

Documentation

For detailed setup, usage, troubleshooting, and configuration instructions, see the GitLab Duo CLI documentation.

Contributing

See Development Guide for information on contributing to this project.

License

See the License for details.