glab-config-get(1)

glab-config-get1

Prints the value of a given configuration key.

Usage

glab config get [flags]

Overview

By default, the lookup order is: environment variables, then the local repository configuration, then the global configuration. Use --global to read only from the global configuration file, or --host to read a per-host setting.

If the key is not set, nothing is printed.

Options

-g, --global[=false]
Read from global config file (~/.config/glab-cli/config.yml). (default checks 'Environment variables → Local → Global')

--host=""
Get per-host setting.

Options inherited from parent commands

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

Examples

$ glab config get editor
vim
$ glab config get glamour_style
notty

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.