使用Gemini在受限的CLI工作流中运行终端原生仓库分析、编辑和命令循环与Gemini CLI
Lets an agent use Gemini from the terminal to inspect repositories, edit files, run shell commands, and ground work with built-in search and local context.
Prerequisites
Node.js or npm, gemini-cli, Gemini account or API credentials
Installation
Use the upstream install or setup path that matches your environment:
- npx @google/gemini-cli
- npm install -g @google/gemini-cli
- brew install gemini-cli
- conda create -y -n gemini_env -c conda-forge nodejs
Basic usage or getting-started notes:
- #### Run instantly with npx
- bash
- sudo port install gemini-cli
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/google-gemini/gemini-cli/HEAD/README.md
Documentation
- https://geminicli.com