RG CLI banner
SDUERYRG SDUERYRG

RG CLI

AI community

Description

仿照claude code逻辑,基于React+ink实现的终端AI Agent助手

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

RG CLI

这是一个基于 `Bun + Ink + React` 的终端交互式 CLI。

环境要求

  • Node.js >= 20
  • Bun >= 1.x

本地开发

安装依赖:

bun install

启动开发模式:

bun run dev

测试

运行测试:

bun test

构建

构建 CLI:

bun run build

构建产物:

dist/cli.cjs

运行

配置文件位于(settings.json.origin为示例配置):

%USERPROFILE%/.rg-cli/settings.json

开发环境运行:

bun run dev

构建后运行:

node ./dist/cli.cjs