@kingingwang/grok
v1.0.16-6751defb
Published
Bring Grok into your terminal
Downloads
2,426
Readme
Grok
Bring Grok into your terminal. Fast, flicker-free CLI built for plans, subagents, and parallel work.
Install
curl -fsSL https://x.ai/cli/install.sh | bashOr install with npm:
npm i -g @xai-official/grokGet Started
# Launch the interactive TUI
grok
# Run a single task
grok -p "Explain this codebase"On first launch, Grok opens your browser to authenticate. For CI or headless environments, use an API key from console.x.ai:
export XAI_API_KEY="xai-..."Update
grok updateOr if installed via npm:
npm i -g @xai-official/grok@latestSupported Platforms
| Platform | Architecture | |---|---| | macOS | Apple Silicon (arm64) | | Linux | x86_64, arm64 | | Windows | x86_64 |
Documentation
For full documentation including configuration, MCP servers, custom models, headless mode, agent mode, and more, visit docs.x.ai/build/overview.
Feedback
Run /feedback inside Grok to report issues or send feedback directly.
