Requires a valid Routeway API key. Get yours from the dashboard.
Setup
1
Install Grok CLI
Requires Node.js 18 or newer:Verify the installation:
If you encounter permission issues, try
sudo (macOS/Linux) or run the command prompt as administrator (Windows).2
Configure environment variables
Grok CLI reads To make these persistent, add them to your shell profile (e.g.
GROK_BASE_URL and GROK_API_KEY from your environment:~/.zshrc or ~/.bashrc).3
Start using Grok CLI
Launch with a specific model:Since you’re connected to Routeway, you can use any available model:Browse all available models at routeway.ai/models.