glab(1)
π
glab(1) β okay bestie, this is the glab config set page
Hi hi! So this is a page from the glab manual (that's the GitLab CLI, iykyk), and specifically it's all about the glab config set command. Buckle up, it's short but it's mighty β¨
πΈ NAME
glab-config-set β updates configuration with the value of a given key. That's literally the whole job, and it does it slayfully π
π SYNOPSIS
glab config set [flags]
β¨ DESCRIPTION
Okay so here's the tea π΅ β use glab config set --global to write to the global configuration. And if you specify the --host flag, that also saves to the global configuration file.
And listen, this part matters: keys that glab manages for itself are always written to the global configuration, even if you don't pass --global. No cap β glab keeps its own stuff in the global file, periodt.
π¦ OPTIONS
-g,--global[=false]β write to the global~/.config/glab-cli/config.ymlfile instead of the repository's.git/glab-cli/config.ymlfile π«Ά--host=""β set a per-host setting. That's it, that's the vibe π
π OPTIONS INHERITED FROM PARENT COMMANDS
-h,--help[=false]β show help for this command. Iconic, helpful, always there for you π₯Ή
π EXAMPLE
Okay bestie, examples are the main character energy of any manpage, so here you go β exactly as written:
glab config set editor vim
glab config set token xxxxx --host gitlab.com
glab config set check_update false --global
Look at those three lines just existing and being useful. Ate, honestly. π₯
π SEE ALSO
glab-config(1)β go check out the parent command, it's giving family reunion π
π little reminder:--globalgoes to~/.config/glab-cli/config.yml, no--globalgoes to.git/glab-cli/config.yml, and--hostalways lands in the global one. Also glab's own keys are always global. Simple! Gorgeous! Slay! β¨
Auto generated by spf13/cobra, dated Nov 2026, and that's the whole manual page from the glab(1) set β mwah, bye bestie! π
πΈπ
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms