Skip to content

Beeive CLI

The beeive CLI schedules posts, uploads media and reads analytics from your terminal. It suits scripts, cron jobs, CI pipelines and AI coding agents.

You need Node.js 18 or newer.

Terminal window
npm install -g beeive

Check that it works:

Terminal window
beeive --version

CLI access is included on every paid Beeive plan. There are two ways to sign in.

Best on your own computer. You never copy a key.

Terminal window
beeive auth:login
  1. The terminal shows a short code and a link.

  2. Open the link in any browser, even on your phone, and enter the code.

  3. Log in to Beeive and click Approve on Beeive CLI.

  4. The terminal confirms you’re logged in. The login is saved on this computer, so every command works from now on.

The CLI uses whichever Beeive account is logged in to that browser. To use a different account, log in to beeive.com as that account first, or use a private window.

Command What it does
beeive auth:status Shows which account the CLI is using.
beeive auth:logout Removes the saved login from this computer.

To revoke access from a lost or shared computer, go to Settings → Approved Apps on beeive.com.

Best for servers, scripts and CI pipelines, where nobody is around to click Approve. Your API key is under Settings → Developers → Access in the app. Set it as the BEEIVE_API_KEY environment variable:

Terminal window
export BEEIVE_API_KEY="YOUR_API_KEY"

To keep it across terminal sessions, add that line to ~/.bashrc or ~/.zshrc.

  1. Find the channel you want to post to:

    Terminal window
    beeive integrations:list

    Copy the id of the channel.

  2. Schedule the post:

    Terminal window
    beeive posts:create \
    -c "Hello from the Beeive CLI!" \
    -s "2026-12-31T09:00:00Z" \
    -i "YOUR_CHANNEL_ID"
  3. Check it’s in the queue:

    Terminal window
    beeive posts:list