cd /news/ai-tools/getting-started-with-bee-cli · home › topics › ai-tools › article
[ARTICLE · art-174816] src=docs.bee.computer ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Getting Started with Bee CLI

Bee released Bee CLI, a command-line interface installed via `npm install -g @beeai/cli` that lets users export their Bee conversations, facts, todos and other data to local markdown files. The CLI renders markdown by default and supports `--json` for machine-readable output, and requires the Bee iOS app with Developer Mode unlocked by tapping the app Version 5 times. Bee positions the CLI as the preferred option for AI agents and offers an MCP connection for tools including Claude, Claude Code and Codex to access Bee context.

key takeaway

Bee CLI installs with `npm install -g @beeai/cli`, outputs markdown by default with `--json` for machine-readable data, and `bee sync` writes all Bee data into a local `bee-sync/` directory of markdown files.

read2 min views9 publishedNov 23, 2026

Bee CLI is the command-line interface for interacting with your Bee data. It allows you to export your conversations, facts, todos, and more to local markdown files.

Two Ways to Work with Bee #

You can work with Bee in two ways:

  1. CLI : Usebee commands directly in your terminal. This is usually the best option for AI agents because it provides markdown output by default, supports JSON when needed, and works well with local automation.
  2. API : Call the Bee developer API over HTTPS from your app or service, through the public endpoint, a localbee proxy , or raw TLS. SeeAPI documentation .

Prefer to wire Bee directly into an AI assistant? Connect it over MCP to give tools like Claude, Claude Code, or Codex live access to your Bee context.

This guide continues with the CLI workflow.

Prerequisites #

To use the Bee CLI, you must have the Bee iOS app installed and Developer Mode unlocked by tapping app Version 5 times. See the Developer Mode guide.

Installation #

npm

npm install -g @beeai/cli

Verify the installation:

bee version

Output Modes #

Data commands render markdown by default. Add --json when you need machine-readable output.

markdown

bee me

Authentication #

Login to your Bee account

Run the login command:

bee login

Verify your connection

Check that you’re authenticated:

bee status

Test the connection

Ping the Bee servers:

bee ping

Your First Commands #

Once authenticated, try these commands to explore your data:

markdown

bee me
 
bee today
 
bee now
 
bee facts list
 
bee todos list
 
bee search --query "project roadmap"
 
bee search --query "What do you know about me?" --neural

Syncing Your Data #

The most powerful feature of Bee CLI is the ability to sync your data to local markdown files:

bee sync

This creates a bee-sync/ directory with all your data organized in markdown format. See the Full Sync documentation for more details.

Logging Out #

To clear your credentials:

bee logout

Next Steps #

── more in #ai-tools 4 stories · sorted by recency
── more on @bee 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/getting-started-with…] indexed:0 read:2min 2026-11-23 · —