Skip to content

Environment Variables

Configure grekt behavior through environment variables.

Authentication

VariableDescription
GREKT_TOKENRegistry token. Overrides credentials.yaml.
GITHUB_TOKENToken for github: sources.
GITLAB_TOKENToken for gitlab: sources.

Environment tokens take priority over file-based credentials. See Authentication for details.

Behavior

VariableValueDescription
GREKT_NO_UPDATE_CHECK1Disable update notifications.

Update check

grekt checks for new versions once per day and shows a notice when updates are available:

  --------------------------------------------
  Update available: 2.3.0 → 2.4.0

  curl -fsSL https://grekt.com/install.sh | sh
  brew upgrade grekt
  --------------------------------------------

To disable this behavior:

bash
# Single command
GREKT_NO_UPDATE_CHECK=1 grekt install

# Shell session
export GREKT_NO_UPDATE_CHECK=1

# Permanent (add to ~/.bashrc or ~/.zshrc)
export GREKT_NO_UPDATE_CHECK=1

The check runs in the background without blocking commands. Version data is cached in ~/.grekt/.update-check.