Grok CLI is a lightweight terminal command-line power tool. By configuring OpenAI-compatible interface environment variables, you can easily switch Grok CLI's underlying AI to the high-performance model service provided by DataEyesAI.
Grok CLI requires Node.js. Make sure your machine has Node.js installed.Open a terminal (PowerShell recommended on Windows, Terminal on Mac) and run the following command to install globally:
After the installation completes, type grok --help in the terminal. If a usage guide is printed, the installation was successful and you can proceed to the next step.
Save and close Notepad. After restarting your terminal, you only need to type grok to launch.If the above does not work, run the following in your terminal instead:
$content = @'
function grok-short {
# Use grok.cmd to avoid infinite loops; use -p 3001 to avoid port conflicts
grok.cmd -p 3001 --base-url "https://platform.dataeyes.ai" --reasoning-model "deepseek-v3.2-251201" --completion-model "deepseek-v3.2-251201"
}
# Use -Force to overwrite without extra conditional logic
Set-Alias grok grok-short -Force
'@Set-Content-Path$PROFILE-Value$content
. $PROFILE
The model name in "model" "" can be replaced with any of the many models supported by your console.
Q: Why does the interface show "Claude Code" after launching?A: This is normal. Grok CLI is essentially a high-performance proxy that borrows the excellent interactive interface of Claude Code, but all the underlying models and compute power come from the DataEyes configuration you set.Q: After sending a question, it returns "404 Not Found" or "model does not exist"?A: Check your --base-url. Make sure the URL does not end with /v1.
Incorrect: https://platform.dataeyes.ai/v1
Correct: https://platform.dataeyes.ai
Q: Port conflict error (EADDRINUSE)?A: Port 3001 is already in use. Change -p 3001 in the command to -p 3002 or any other available four-digit port number.