Simple CLI to chat with Gemini on Linux Terminal
- Set Google Gemini API Key:
export GOOGLE_API_KEY=your_actual_api_key- Install
jq
sudo apt install jq- Clone repo and start script
git clone https://github.com/bmsohwinc/gemini-cli.git
cd gemini-cli/
chmod +x clichat.sh
./clichat.sh- Google API key can be generated for free at https://aistudio.google.com/apikey
- Install jq on other Linux systems: https://jqlang.org/download/
- Thanks to Claude for assisting me in building the script: https://claude.ai/new