.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-config-set - Updates configuration with the value of a given key. .SH SYNOPSIS \fBglab config set [flags]\fP .SH DESCRIPTION Use \fBglab config set --global\fR to write to the global configuration. Specifying the \fB--host\fR flag also saves to the global configuration file. .SH OPTIONS \fB-g\fP, \fB--global\fP[=false] Write to global '~/.config/glab-cli/config.yml' file rather than the repository's '.git/glab-cli/config.yml' file. .PP \fB--host\fP="" Set per-host setting. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX glab config set editor vim glab config set token xxxxx --host gitlab.com glab config set check_update false --global .EE .SH SEE ALSO \fBglab-config(1)\fP