glab(1)
π NAME π
glab-variable β bestie, this is your whole toolkit for managing variables on a GitLab project or a group. Yes, both. We contain multitudes. β¨
Also hi, you're reading the glab(1) manual family β welcome to the group chat π«Ά
πΈ SYNOPSIS πΈ
glab variable [flags]
That's it. That's the whole vibe. Run it, then pick a subcommand like the main character you are π
π¦ DESCRIPTION π¦
Okay so listen: variables are literally where your config and your secrets live for CI/CD pipelines. Configuration? Secrets? All of it. Stored as variables. Iconic behaviour, no cap π₯
Now here's the part you gotta remember, bestie β by default every single subcommand acts on the current project. That's the default. That's the baseline. But if you wanna be managing a group's variables instead? Just pass --group and boom, you're in group mode. Two vibes, one command, we love to see it π
β¨ OPTIONS β¨
-R,--repo=""β picks a different repository for you. Default is empty string"", obviously. You can hand itOWNER/REPOorGROUP/NAMESPACE/REPO, and if you're feeling extra the full URL or a Git URL is also accepted. Flexible queen π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β shows help for this command. Look at us, being all self-aware. Default isfalse, so it won't spam you unprompted π
π SEE ALSO π
The whole friend group, fr fr:
glab(1)glab-variable-delete(1)glab-variable-export(1)glab-variable-get(1)glab-variable-import(1)glab-variable-list(1)glab-variable-set(1)glab-variable-update(1)
Lowkey a whole squad of subcommands waiting for you. Go read them too, iykyk π
Auto generated by spf13/cobra πΈ dated Nov 2026 π¦ and it's part of the glab(1) family β mwah, go slay your pipelines 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