Skip to main content
The NeetoKB CLI (neetokb) lets you manage NeetoKB from your terminal. It covers the v2 REST API: list and search articles, create and publish content, browse the category tree, share unlisted links, and manage team members. It is designed for people comfortable with a terminal or HTTP. You do not need to be a developer: run neetokb setup to connect an AI assistant such as Claude or Cursor, then describe the task in plain language.

Why use the CLI?

Publish from scripts

Create and update articles from shell scripts, cron jobs, and content pipelines instead of the editor.

Audit your knowledge base

Search articles, list drafts, and pipe the results to jq to build one-off content reports.

Manage many workspaces

Sign in to multiple workspaces at once and target any of them with a single flag - no browser switching.

Built for AI agents

Use token-efficient --toon output and one-command setup for Claude, Cursor, Copilot, and more.

What you need

  1. Access to one or more NeetoKB workspaces.
  2. Permission to manage the resources you want to work with (articles, categories, team members, and so on).
  3. The neetokb binary. See Installation.
Unlike the API, which authenticates with an X-Api-Key header, the CLI signs you in through your browser and stores credentials locally. See Authentication.