Install

Grok Code ships through a few install paths, but the published release surface is narrower than the source tree.

Published Install Paths

bash
curl -fsSL https://grok.chaitanya.science/install.sh | sh
bash
npm install -g grok-cli

Source And Cargo Install Paths

bash
cargo install grok-cli
bash
git clone https://github.com/staticpayload/grok-code
cd grok-code
cargo build --release -p grok-cli

Platform Reality

  • the published installer targets Apple Silicon macOS
  • the npm package also targets Apple Silicon macOS
  • building from source is the main path outside that published release target

After Install

Check that the binary is visible:

bash
grok --version

Then continue with First Run.

Was this page helpful? Report issues on GitHub.