安全安装指南
- environmental isolation:必须先创建 Python 虚拟环境
python3 -m venv venv source venv/bin/activate
- Dependent Installation:通过 PyPI 安装正式版
pip install gemini-code
- API Configuration:需先获取 Google API 密钥并设置
gemini setup YOUR_KEY
Precautions for use
- 避免在生产目录操作,建议使用 Docker 容器隔离
- 重要文件必须备份后再尝试修改
- 首次启动可能需安装 questionary 依赖包
- transferring entity
--model
参数指定模型版本
This answer comes from the articleGeminiCode: an AI programming assistant based on Gemini 2.5 running in terminalsThe