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.
Image could not load. View the original source
Image provenance
Original project branding or screenshot referenced from official project evidence with attribution; trademarks remain with their owners. · Verified Nov 20, 2026
Image could not load. View the original source
Image provenance
Original project branding or screenshot referenced from official project evidence with attribution; trademarks remain with their owners. · Verified Nov 20, 2026
The idea
What it helps you do.
- 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.
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 →- api.github.comSource evidence reviewed · Nov 20, 2026
- api.github.comSource evidence reviewed · Nov 20, 2026