CLI tool for quick Google Gemini-3 AI access
- Create Google AI Studio account and grab your API key at Get API key (it's free!)
- Put your key in any of these files in your environment:
./.geminitoken- To keep your API key in same directory as thegemini-cliscript~/.geminitoken- To keep it in your home directory~/.config/geminitoken- To keep it in your.configdirectory
- Run the script! For example:
gemini-cli.py "Explain how to pull git repository"
- Linux environment (tested on Android Termux, works fine!)
- Python 3
requestslibrary