Anki: Difference between revisions
Dastarruer (talk | contribs) Add instructions on how to install anki addons |
Both unstable and stable host anki 25.09.2 and anki-bin 25.02.5 so anki is newer now |
||
| Line 4: | Line 4: | ||
== Installation == | == Installation == | ||
<code>anki | <code>anki</code> is recommended over <code>anki-bin</code>, due to <code>anki-bin</code> being out of date (at the time of writing). Using old versions of <code>anki-bin</code> may lead to decks being incompatible with newer versions. | ||
;NixOs | ;NixOs | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
pkgs.anki | pkgs.anki | ||
]; | ]; | ||
;nix-shell | ;nix-shell | ||
<code>$ nix-shell -p anki | <code>$ nix-shell -p anki</code> | ||
== Installing Addons == | == Installing Addons == | ||
Latest revision as of 15:55, 17 November 2025
Anki is a spaced repetition system (SRS) commonly used to learn new languages. Information is placed on individual flashcards, which are sorted into decks. Anki is extensible using Python addons.
In addition to the desktop software, Anki has an iOS app, Android app, and web interface available. Decks/flashcards can be synced using a self hosted instance of anki-sync-server or an AnkiWeb account.
Installation
anki is recommended over anki-bin, due to anki-bin being out of date (at the time of writing). Using old versions of anki-bin may lead to decks being incompatible with newer versions.
- NixOs
environment.systemPackages = [ pkgs.anki ];
- nix-shell
$ nix-shell -p anki
Installing Addons
Additional addons can be installed using the following syntax:
- NixOs
environment.systemPackages = [
(pkgs.anki.withAddons [
pkgs.ankiAddons.passfail2
])
];
Note that as of writing, anki-bin does not support installing addons in this way.
Configuring Addons
Addons can be configured using .withConfig:
- NixOs
environment.systemPackages = [
(pkgs.anki.withAddons [
(pkgs.ankiAddons.passfail2.withConfig {
config = {
again_button_name = "Incorrect";
good_button_name = "Correct";
};
})
])
];