| name | glab-config |
| description | Manage glab CLI configuration settings including defaults, preferences, and per-host settings. Use when configuring glab behavior, setting defaults, or viewing current configuration. Triggers on config, configuration, settings, glab settings, set default. |
glab config
Overview
Manage key/value strings.
Current respected settings:
- branch_prefix: Prefix used by glab stack for generated branch names. Defaults to the operating system account username, then `glab-stack` if user lookup fails.
- browser: If unset, uses the default browser. Override with environment variable $BROWSER.
- check_update: Notify about new glab versions. Override with $GLAB_CHECK_UPDATE.
- display_hyperlinks: Enable terminal hyperlinks. Override with $FORCE_HYPERLINKS.
- duo_cli_auto_download / duo_cli_auto_run: Skip Duo CLI download/run prompts.
- editor: If unset, uses the default editor. Override with environment variable $EDITOR.
- git_protocol: Git protocol, ssh or https.
- glab_pager: Pager command, such as less -R.
- glamour_style: Markdown renderer style: dark, light, notty, or a custom glamour style.
- host: If unset, defaults to `https://gitlab.com`.
- no_prompt: Disable interactive prompts. Prefer the $GLAB_NO_PROMPT override in automation.
- notify_skill_updates: Show installed agent-skill update notices. Override with $GLAB_NOTIFY_SKILL_UPDATES.
- orbit_local_auto_download / orbit_local_auto_run: Skip Orbit local CLI download/run prompts.
- remote_alias: Preferred Git remote name when multiple remotes exist.
- show_whats_new: Show the one-time post-upgrade glab whatsnew banner. Override with $GLAB_SHOW_WHATS_NEW.
- telemetry: Enable usage data to the GitLab instance. Override with $GLAB_SEND_TELEMETRY.
- token: Your GitLab access token. Defaults to environment variables.
- visual: Takes precedence over editor. Override with $VISUAL.
USAGE
glab config [command] [--flags]
COMMANDS
edit [--flags] Opens the glab configuration file.
get <key> [--flags] Prints the value of a given configuration key.
set <key> <value> [--flags] Updates configuration with the value of a given key.
FLAGS
-g --global Use global config file.
-h --help Show help for this command.