/gemini_cli

No frills Google Gemini CLI app

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Gemini CLI

A no frills CLI utility to access Google Gemini from command line or terminal. It is especially useful when there's a limitation to use a browser.

Virtual env

If does not exist, create one:

$ python3 -m venv env

To activate:

$ source env/bin/activate

To deactivate:

$ deactivate

Useful commands

Generate requirement.txt file:

$ pip3 freeze > requirements.txt

To install from the dependency file:

$ pip3 install -r requirements.txt

Troubleshooting

As of 25th of July, the GRPC IO package has a bug that causes the problem to show error when interactive with it. Turned out that's a bug in the latest version of library. To resolve had to downgrate the package: pip install grpcio==1.60.1.