iFlow cli is a comprehensive command-line intelligence that embeds in your terminal, analyzes your repositories, does coding tasks, interprets your needs across contexts, and boosts efficiency by performing tasks from simple file operations to complex workflow automation.
[!IMPORTANT]
undefinediFlow CLI will be shutting down on April 17, 2026 (UTC+8). Thank you for every moment with iFlow CLI in your terminal. For details and migration guidance, please see our farewell post.

undefinedEnglish | δΈζ | ζ₯ζ¬θͺ | νκ΅μ΄ | FranΓ§ais | Deutsch | EspaΓ±ol | Π ΡΡΡΠΊΠΈΠΉ
iFlow CLI is a powerful AI assistant that runs directly in your terminal. It seamlessly analyzes code repositories, executes coding tasks, understands context-specific needs, and boosts productivity by automating everything from simple file operations to complex workflows.
| Feature | iFlow Cli | Claude Code | Gemini Cli |
|---|---|---|---|
| Todo Planning | β | β | β |
| SubAgent | β | β | β |
| Custom Commands | β | β | β |
| Plan Mode | β | β | β |
| Task Tools | β | β | β |
| VS Code Plugin | β | β | β |
| JetBrains Plugin | β | β | β |
| Conversation Recovery | β | β | β |
| Built-in Open Market | β | β | β |
| Memory Auto-compression | β | β | β |
| Multimodal Capability | β | β οΈ (Limited in China) | β οΈ (Limited in China) |
| Search | β | β | β οΈ (Requires VPN) |
| Free | β | β | β οΈ (Limited Usage) |
| Hook | β | β | β |
| Output Style | β | β | β |
| Thinking | β | β | β |
| Workflow | β | β | β |
| SDK | β | β | β |
| ACP | β | β | β |
undefinedMAC/Linux/Ubuntu Users:
bash -c "$(curl -fsSL https://cloud.iflow.cn/iflow-cli/install.sh)"
brew tap iflow-ai/iflow-cli
brew install iflow-cli
npm i -g @iflow-ai/iflow-cli
This command automatically installs all necessary dependencies for your terminal.
undefinedWindows Users:
npm install -g @iflow-ai/iflow-cli to install iFlow CLIiflow to start iFlow CLIIf you are in China Mainland, you can use the following command to install iFlow CLI:
nvm node_mirror https://npmmirror.com/mirrors/node/ and nvm npm_mirror https://npmmirror.com/mirrors/npm/nvm install 22 to install Node.js 22nvm use 22 to use Node.js 22npm install -g @iflow-ai/iflow-cli to install iFlow CLIiflow to start iFlow CLInpm uninstall -g @iflow-ai/iflow-cli
iFlow offers two authentication options:

Choose option 1 to login directly, which will open iFlow account authentication in a web page. After completing authentication, you can use it for free.

If you are in an environment like a server where you cannot open a web page, please use option 2 to login.
To get your API key:

After generating your key, paste it into the terminal prompt to complete setup.
To launch iFlow CLI, navigate to your workspace in the terminal and type:
iflow
For new projects, simply describe what you want to create:
cd new-project/
iflow
> Create a web-based Minecraft game using HTML
For existing codebases, begin with the /init command to help iFlow understand your project:
cd project1/
iflow
> /init
> Analyze the requirements according to the PRD document in requirement.md file, and output a technical document, then implement the solution.
The /init command scans your codebase, learns its structure, and creates an IFLOW.md file with comprehensive documentation.
For a complete list of slash commands and usage instructions, see here.
iFlow CLI extends beyond coding to handle a wide range of tasks:
> Help me find the best-rated restaurants in Los Angeles and create a 3-day food tour itinerary.
> Search for the latest iPhone price comparisons and find the most cost-effective purchase option.
> Organize the files on my desktop by file type into separate folders.
> Batch download all images from this webpage and rename them by date.
> Analyze the sales data in this Excel spreadsheet and generate a simple chart.
> Extract customer information from these CSV files and merge them into a unified table.
> Analyze the main architectural components and module dependencies of this system.
> I'm getting a null pointer exception after my request, please help me find the cause of the problem.
> Create a script to periodically backup my important files to cloud storage.
> Write a program that downloads stock prices daily and sends me email notifications.
Note: Advanced automation tasks can leverage MCP servers to integrate your local system tools with enterprise collaboration suites.
iFlow CLI can connect to any OpenAI-compatible API. Edit the settings file in ~/.iflow/settings.json to change the model you use.
Here is a settings demo file:
{
"theme": "Default",
"selectedAuthType": "iflow",
"apiKey": "your iflow key",
"baseUrl": "https://apis.iflow.cn/v1",
"modelName": "Qwen3-Coder",
"searchApiKey": "your iflow key"
}
You can also use iFlow CLI in your GitHub Actions workflows with the community-maintained action: iflow-cli-action
Looking for a graphical interface?
If you encounter problems in use, you can directly raise Issues on the github page.
You can also scan the following Wechat group to join the community group for communication and discussion.
