New online installer/launcher

A new beta has been released:

Auto-update

If you start Anki, you’ll notice nothing has changed, because update checks do not happen on every run.

To simulate what happens after agreeing to an update pop-up, open the debug console and run the following:

from aqt.update import update_and_restart as u; u()

Or you can remove the pyproject.toml file mentioned below.

Switching between versions

The standard pyproject.toml that you’ll find in your AnkiProgramFiles folder (see top post) looks like this:

[project]
name = "anki-launcher"
version = "0.1.0"
description = "UV-based launcher for Anki."
requires-python = ">=3.9"
dependencies = [
  "anki-release",
]

To get a specific version, edit the anki-release line, then restart Anki:

[project]
name = "anki-launcher"
version = "0.1.0"
description = "UV-based launcher for Anki."
requires-python = ">=3.9"
dependencies = [
  "anki-release==25.02b4",
]

To go back to a version prior to these packaging changes:

[project]
name = "anki-launcher"
version = "0.1.0"
description = "UV-based launcher for Anki."
requires-python = ">=3.9"
dependencies = [
  "aqt[qt6]==24.11",
]

To select Qt 6.6 with the current beta:

[project]
name = "anki-launcher"
version = "0.1.0"
description = "UV-based launcher for Anki."
requires-python = ">=3.9"
dependencies = [
  "aqt[qt66,audio]==25.06b5",
]

qt67 and qt69 is also available.

If you want multiple installs in parallel, you can select a version, then copy the AnkiProgramFiles folder elsewhere. Anki can be launched from scripts\anki (windows) or bin/anki.

3 Likes