Skip to content

Install the Rabetbase CLI toolchain

Lovrabet ships two CLIs: rabetbase and lovrabet. With both installed, an AI Agent can configure system capabilities on one side and verify the results in the live app on the other.

<grid> <column width-ratio="0.500000">

TIP

Rabetbase CLI

Development-mode CLI For project initialization, database analysis, and configuring datasets, pages, SQL, BFF, and more.

</column> <column width-ratio="0.500000">

TIP

Lovrabet CLI (optional)

Runtime CLI For app selection, data queries, business operations, and running SQL/BFF in the runtime. It also lets AI agents in apps such as Workbuddy or ChatGPT read system data and run Skills to execute business workflows.

</column> </grid>

Prerequisites

Make sure your machine has:

  • Node.js 20+
  • npm
  • A Lovrabet account
  • For automatic installation: an AI Agent such as Claude Code, Codex, or Cursor

For users already working in an AI Agent such as Claude Code, Codex, or Cursor.

<grid> <column width-ratio="0.500000">

TIP

Step 1: install the Rabetbase CLI

Send this prompt to your AI Agent: Install the Rabetbase CLI for me: https://www.lovrabet.com/agent-install-guides/rabetbase-cli.md When you see a Login URL, open the link in a browser to authorize, then reply "Authorization complete" in the Agent chat.

</column> <column width-ratio="0.500000">

TIP

Step 2: install the Lovrabet CLI

Send this prompt to your AI Agent: Install the Lovrabet CLI for me: https://www.lovrabet.com/agent-install-guides/lovrabet-cli.md Follow the Agent's instructions to open the AccessKey page, copy the AccessKey that starts with ak_, and paste it back into this Agent session.

</column> </grid>

AccessKey page:

text
https://user.lovrabet.com/user/ak

Never post your AccessKey in group chats or write it into documents.

Step 3: verify the installation

Have the Agent run:

shell
rabetbase --version
rabetbase doctor
lovrabet --version
lovrabet auth status
lovrabet app list

Once these commands return normally, the dual-CLI setup is ready to use.

Option 2: manual installation

For users who prefer not to let an AI Agent run commands automatically, or who want to install step by step in a terminal.

Step 1: install the Rabetbase CLI

shell
npm install -g @lovrabet/rabetbase-cli@latest
rabetbase --version
rabetbase skill install
rabetbase auth login
rabetbase doctor

If rabetbase skill install is unavailable, use:

shell
npx skills add lovrabet/rabetbase -g -y

Step 2: initialize a project (optional)

Run this only when the current directory is the target project directory:

shell
cd <项目目>
rabetbase init

If you're just installing the CLI, skip this step.

Step 3: install the Lovrabet CLI

shell
npm install -g @lovrabet/lovrabet-cli@latest
lovrabet --version
lovrabet skill install

If lovrabet skill install is unavailable, use:

shell
npx skills add lovrabet/lovrabet-cli -g -y

Step 4: sign in to the Lovrabet CLI

Open the AccessKey page:

text
https://user.lovrabet.com/user/ak

Copy your AccessKey, then run:

shell
lovrabet auth login --access-key <ACCESS_KEY>

You can also sign in interactively:

shell
lovrabet auth login

Step 5: verify the installation

shell
lovrabet auth status
lovrabet app list
lovrabet dataset list

Once these commands return normally, rabetbase and lovrabet are ready to use on your machine.

基于飞书知识库同步生成,内容以飞书源文档为准