Grok CLI

Installs the Grok CLI for the Dev Container user using xAI's native installer and ensures `grok` is on the PATH.

Install

Add to devcontainer.json

"features": {
  "ghcr.io/wyrd-company/devcontainers/grok-cli:1": {}
}

README

Grok CLI

Installs the Grok CLI for the resolved Dev Container user using xAI’s native installer and ensures grok is available on the container PATH.

The executable, updater, and Grok state remain owned by the user rather than root.

The Feature does not retain xAI’s optional agent alias, so it does not replace another tool that provides that command. It exposes only grok in /usr/local/bin.

Options

OptionTypeDefaultDescription
versionstringlatestGrok CLI version to install. Use latest or a specific version like 1.0.12.

Example usage

{
  "features": {
    "ghcr.io/wyrd-company/devcontainers/grok-cli:1": {}
  }
}

Trademarks

This feature is not affiliated with or endorsed by SpaceXSI. Grok and its logo are trademarks of SpaceXSI. All trademarks and copyrights belong to their holders. The logo is used only to identify the software that this feature installs.

Logo: the Grok logomark from the xAI brand guidelines (Grok_Logomark_Dark.svg).

Releases

Latest 1.0.0

Features

  • Installs the Grok CLI for the Dev Container user with xAI’s native installer.
  • Adds grok to the PATH. The executable and its state stay owned by the user, not root.
  • The feature does not add the agent alias, so it does not replace another tool that provides agent.
  • Option version selects the version to install.
All releases