Replaceexportonly affects the current shell session. To persist these settings, add the commands to~/.bashrcor~/.zshrc, then runsource ~/.bashrcorsource ~/.zshrc.
<YOUR_GEEKAI_API_KEY> with your GeekAI API key. If you use the international base URL, obtain a key from GeekAI International.
The default balanced route is suitable for individual developers. For larger projects or faster, more stable responses, edit your key on the API Keys page and select the high-availability route.
For a lower price, you can switch to the low-cost route, at the expense of availability.
Open your project directory in the terminal and start Gemini CLI:
Once the interactive prompt appears, ask Gemini for coding suggestions or help solving a programming problem:
The version shown here defaults to Gemini 2.5 Pro. To use Gemini 3 Pro Preview, open settings and select Preview features:
Preview features are off by default. Press Enter to enable them. Use /model to switch between the available Gemini models:

