Choose your language
Use Rust, Node / TypeScript or Python to connect Anki deck generation to your data.
All three can export a persistent spanish.apkg without installing Anki.
| Language | Public package | Install | Complete first deck |
|---|---|---|---|
| Rust | ankiforge 0.3.1 | cargo add ankiforge@0.3.1 |
Rust quickstart |
| Node / TypeScript | ankiforge 0.3.1 | npm install --include=optional ankiforge@0.3.1 |
Node quickstart |
| Python | ankiforge 0.3.1 | python -m pip install ankiforge==0.3.1 |
Python quickstart |
Rust needs Rust 1.92+. Node needs Node 22.13+ and a matching native optional dependency. Python uses a native wheel for an ordinary CPython interpreter; CPython 3.11–3.14 are verified in recorded release checks. See verified environments.
Next tasks
Section titled “Next tasks”Generate and update a deck from shared JSON, image and audio inputs, or compare Anki Forge and genanki for your workflow.
Add images and audio, create custom note types, or compare and update a distributed deck.
For TypeScript, use the compiler configuration. For genanki, read the migration guide. Repository development and source-only capabilities have their own source build instructions.