Skip to content

mw gitlab duo cli

Releasev0.35.0 · cfeceb67

mw gitlab duo cli [flags]

Run the GitLab Duo CLI.

This command provides an AI-powered assistant for your development workflow. The Duo CLI binary is automatically downloaded and managed by glab.

The binary is installed to glab’s config directory (respects XDG spec and GLAB_CONFIG_DIR). Authentication is handled automatically via glab auth credential-helper with OAuth2 token refresh support.

Ensure you are authenticated before running: glab auth login

Configuration options:

  • duo_cli_auto_run: Skip run confirmation prompt
  • duo_cli_auto_download: Skip download confirmation prompt

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

--update
Check for and install updates
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
# Run GitLab Duo CLI
$ glab duo cli
# Run using the alias (glab duo defaults to cli)
$ glab duo
# Check for and install updates
$ glab duo cli --update
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.