BUILD / update-the-grok-build-cli

Build

Update the Grok Build CLI

Update the Grok Build CLI

grok update checks for a newer Grok Build CLI or installs a specific channel/version. Official: CLI Reference.

Check and install

grok version                 # what you have now
grok update --check          # see whether an update is available
grok update                  # install the current stable update path
grok update --stable         # pin the stable channel
grok update --alpha          # install the alpha channel when you want it
grok update --version <ver>  # install an exact version string
  1. Run grok version so you know the starting build.
  2. Run grok update --check when you only want to know if something newer exists.
  3. Run grok update (or --stable / --alpha / --version) to install.
  4. Open a new terminal if your PATH still points at an older binary, then confirm with grok version again.

Fresh installs still use the official installers in Install the Grok Build CLI.

Related version commands

Command What it does
grok version Print version information
grok update --check Check only
/release-notes / /changelog Read notes for the version you are already running — see Read release notes in Grok Build

Pitfalls

  • Updating the CLI does not rewrite project files under .grok/ or your session history.
  • Alpha builds can move faster than stable — use --stable when you need the documented default path.