The steps to install and configure gemini-flow are as follows:
- Install Node.js (recommended version 20 or higher).
- Install the Gemini CLI globally:
npm install -g @google/gemini-cli
The - Install gemini-flow:
npm install -g @clduab11/gemini-flow
The - Configure authentication: Support Google account login or API key authentication. For API key authentication, set the environment variable
export GEMINI_API_KEY="your-api-key-here"
The - Initialize the project: run in the project directory
gemini-flow init --protocols a2a,mcp --topology hierarchical
The configuration file is generated in the following way.gemini-flow/config.ts
The
This answer comes from the articleGemini-Flow: AI Code Development and System Optimization Tool for Multi-Intelligence CollaborationThe