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
Option 1: automatic installation (recommended)
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:
https://user.lovrabet.com/user/akNever post your AccessKey in group chats or write it into documents.
Step 3: verify the installation
Have the Agent run:
rabetbase --version
rabetbase doctor
lovrabet --version
lovrabet auth status
lovrabet app listOnce 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
npm install -g @lovrabet/rabetbase-cli@latest
rabetbase --version
rabetbase skill install
rabetbase auth login
rabetbase doctorIf rabetbase skill install is unavailable, use:
npx skills add lovrabet/rabetbase -g -yStep 2: initialize a project (optional)
Run this only when the current directory is the target project directory:
cd <项目目录>
rabetbase initIf you're just installing the CLI, skip this step.
Step 3: install the Lovrabet CLI
npm install -g @lovrabet/lovrabet-cli@latest
lovrabet --version
lovrabet skill installIf lovrabet skill install is unavailable, use:
npx skills add lovrabet/lovrabet-cli -g -yStep 4: sign in to the Lovrabet CLI
Open the AccessKey page:
https://user.lovrabet.com/user/akCopy your AccessKey, then run:
lovrabet auth login --access-key <ACCESS_KEY>You can also sign in interactively:
lovrabet auth loginStep 5: verify the installation
lovrabet auth status
lovrabet app list
lovrabet dataset listOnce these commands return normally, rabetbase and lovrabet are ready to use on your machine.