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
- Run
grok versionso you know the starting build. - Run
grok update --checkwhen you only want to know if something newer exists. - Run
grok update(or--stable/--alpha/--version) to install. - Open a new terminal if your PATH still points at an older binary, then confirm with
grok versionagain.
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
--stablewhen you need the documented default path.