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 | shbash
npm install -g grok-cliSource And Cargo Install Paths
bash
cargo install grok-clibash
git clone https://github.com/staticpayload/grok-code
cd grok-code
cargo build --release -p grok-cliPlatform 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 --versionThen continue with First Run.