glab-config-set(1)

glab-config-set1

Updates configuration with the value of a given key.

Usage

glab config set [flags]

Overview

Use glab config set --global to write to the global configuration. Specifying the --host flag also saves to the global configuration file.

Options

-g, --global[=false]
Write to global '~/.config/glab-cli/config.yml' file rather than the repository's '.git/glab-cli/config.yml' file.

--host=""
Set per-host setting.

Options inherited from parent commands

-h, --help[=false]
Show help for this command.

Examples

glab config set editor vim
glab config set token xxxxx --host gitlab.com
glab config set check_update false --global

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From glab 1.126.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.