> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.neetokb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NeetoKB CLI

> Manage articles, categories, authors, and team members from your terminal.

The **NeetoKB CLI** (`neetokb`) lets you manage NeetoKB from your terminal. It covers the [v2 REST API](/getting-started/introduction): 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?

<CardGroup cols={2}>
  <Card title="Publish from scripts" icon="terminal">
    Create and update articles from shell scripts, cron jobs, and content pipelines instead of the editor.
  </Card>

  <Card title="Audit your knowledge base" icon="magnifying-glass">
    Search articles, list drafts, and pipe the results to `jq` to build one-off content reports.
  </Card>

  <Card title="Manage many workspaces" icon="layer-group">
    Sign in to multiple workspaces at once and target any of them with a single flag - no browser switching.
  </Card>

  <Card title="Built for AI agents" icon="robot">
    Use token-efficient `--toon` output and one-command setup for Claude, Cursor, Copilot, and more.
  </Card>
</CardGroup>

## 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](/cli/installation).

<Note>
  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](/cli/authentication).
</Note>
