Learning & knowledge · Product profile

anki-cli

Manage and study Anki flashcards from the terminal. AnkiConnect or direct SQLite backends, Anki search syntax, JSON output for scripts and AI agents, and a TUI for browsing and review.

The idea

What it helps you do.

A full product introduction is not available yet. Use the official links and reviewed use cases for the details currently provided.

  • 01Two backends. Talk to a running Anki Desktop through the AnkiConnect add-on, or read and write the collection file directly when Anki is closed. auto picks the right one for you.
  • 02Anki's search language. deck:, tag:, is:due, prop:ivl>30, OR, -, and parentheses work the way they do in Anki's browser.
  • 03Built for scripts and agents. Every command can print JSON (--format json) with a stable envelope and documented exit codes. A SKILL.md teaches AI coding agents how to use it.
  • 04Interactive when you want it. A REPL with autocomplete, a card browser, and a review screen with FSRS scheduling.
  • 05In Anki Desktop open Tools ▸ Add-ons ▸ Get Add-ons…, enter code 2055492159, and click OK.
  • 06Quit Anki Desktop. The direct backend refuses to run while Anki has the collection open.

Source-based product information. This is not a hands-on review.

Before you begin

A few things to check.

  • The directory describes the official project; deployment, maintenance and infrastructure requirements must be checked in its documentation.
  • Hosted plans, commercial support, taxes and usage limits are not verified by this repository listing.

People behind the work

The connection matters.

Repository ownership is verified separately from authorship, maintenance or founding. How we verify →

Sources & verification

Suggest a correction →

Source facts checked Nov 20, 2026.

Claim this profile · Suggest a correction