.nh .TH "glab" "1" "Oct 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-duo-cli-update - Update the GitLab Duo CLI binary to the latest compatible version. .SH SYNOPSIS \fBglab duo cli update [flags]\fP .SH DESCRIPTION Checks for a newer GitLab Duo CLI version and installs it. If the binary is not installed yet, \fBglab\fR downloads the latest compatible version. .PP Updates stay within the major version this version of \fBglab\fR supports. When a newer major version exists, update \fBglab\fR first. .PP Updates do not apply when you use a custom binary set with \fBGLAB_DUO_CLI_BINARY_PATH\fR or the \fBduo_cli_binary_path\fR configuration key. .PP \fBglab duo cli --update\fR does the same thing. .SH OPTIONS \fB-y\fP, \fB--yes\fP[=false] Skip the download prompt when the binary is not installed. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX # Update the GitLab Duo CLI, or download it if not installed glab duo cli update # Skip the download prompt glab duo cli update --yes .EE .SH SEE ALSO \fBglab-duo-cli(1)\fP