正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab config

Manage glab settings.

Synopsis

Manage key/value strings.

Current respected settings:

  • branch_prefix: Prefix used by glab stack when naming generated branches. Defaults to $USER, falling back to glab-stack.
  • browser: If unset, uses the default browser. Override with environment variable $BROWSER.
  • check_update: If true, notifies of new versions of glab. Defaults to true. Override with environment variable $GLAB_CHECK_UPDATE.
  • display_hyperlinks: If false, disables hyperlinks in terminal output. Defaults to true. Override with environment variable $FORCE_HYPERLINKS.
  • duo_cli_auto_download: If true, automatically downloads the Duo CLI binary without prompting.
  • duo_cli_auto_run: If true, automatically runs GitLab Duo CLI without prompting.
  • editor: If unset, uses the default editor. Override with environment variable $EDITOR.
  • git_protocol: Protocol used for Git operations. Supported values: ssh, https. Defaults to ssh.
  • glab_pager: Your desired pager command to use, such as less -R.
  • glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are available using glamour.
  • host: If unset, defaults to https://gitlab.com.
  • no_prompt: If true, disables interactive prompts. Defaults to false. Override with environment variable $NO_PROMPT.
  • notify_skill_updates: If true, shows a notice when an installed agent skill has updates available. Defaults to true. Override with environment variable $GLAB_NOTIFY_SKILL_UPDATES.
  • orbit_local_auto_download: If true, automatically downloads the Orbit local CLI binary without prompting.
  • orbit_local_auto_run: If true, automatically runs Orbit local CLI without prompting.
  • remote_alias: Name of the git remote that points at the GitLab repository. Used to resolve which remote to operate against when multiple are configured.
  • show_whats_new: If true, shows a one-time post-upgrade banner pointing at glab whatsnew when a new version is detected. Defaults to true. Override with environment variable $GLAB_SHOW_WHATS_NEW.
  • telemetry: If false, disables sending usage data to your GitLab instance. Defaults to true. Override with environment variable $GLAB_SEND_TELEMETRY.
  • token: Your GitLab access token. Defaults to environment variables.
  • visual: Takes precedence over editor. If unset, uses the default editor. Override with environment variable $VISUAL.

Configuration file locations follow the XDG Base Directory specification. For the full search order and platform-specific paths, see configuration.

Aliases

conf

Options

  -g, --global   Use global config file.

Options inherited from parent commands

  -h, --help   Show help for this command.

Subcommands