You are here

Anki 2.1 Portable

7 posts / 0 new
Last post
Last seen: 1 year 1 month ago
Joined: 2019-11-02 04:27
Anki 2.1 Portable


Program: Anki 2.1

License: Open Source/GPLv3

Description: Anki is a program which makes remembering things easy. Because it's a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn. Powerful, intelligent flash cards.



Das Plum
Last seen: 6 months 3 weeks ago
Joined: 2014-01-25 09:36
It would be nice to have it.

It would be nice to have it.

Last seen: 2 years 11 months ago
Joined: 2021-03-07 20:17
I second that!

I second that! Biggrin

I have just installed PortableApps, specifically in the hope of being able to use this program wherever I go...

Many features of the desktop Anki are not available in AnkiWeb Sad

Last seen: 2 years 3 months ago
Joined: 2021-11-14 16:51
Would be amazing.

I did the same that the friend here who expected to have this amazing app but portable. Where I'm going to study is forbidden to take laptops or using devices that are not provided by them, like mobile phones (is a military academy). So I only can use the computers they have there at their library, but not installing apps. I found this thread in reddit about making anki portable and I'm pasting it here, I'm going to test it right now. Hope it works:

Hey guys,

because I couldn't find a good tutorial for using anki in , here a quick tutorial:

1. Create a folder named "Ankiportable" in your PortableApps folder. In it create a subfolder called "App".

2. Download Anki and either unpack the .exe with 7zip or just use your local installation and move it into the "App" folder (I had to use Anki 2.0, the new Anki had issues with "connecting to local port")

3. In the folder "App" create a folder called "AppInfo".

4. In the folder "AppInfo", create a file called "appinfo.ini". Paste this into that file:


Name=Anki Portable
Description=Flashcard App



5. Create in the folder "AppInfo" a subfolder called "Launcher".

6. In there create a file called "AnkiPortable.ini" and paste this into the file:

CommandLineArguments='-b /PortableApps/Anki/App/Userdata/'

7. Now use the Launcher and create the Launcher for Anki (use as directory the Ankiportable base dir).

8. Create a subfolder in your "App" folder called "Userdata". That's where Anki will store your userdata. You can copy your userdata there.

9. Have fun using Ankiportable!


Last seen: 2 years 3 months ago
Joined: 2021-11-14 16:51
I've made it.

Hello again. I finally made it! Using the previous tutorial I copied/pasted before plus these indications that you can find in the official ankiweb docs. I'm pasting it from there. Hope this helps others to using both of these amazing applications. If you substitute the word in the commands for the "AnkiPortable.exe" file to the "AnkiPortable.bat" file it works perfectly, but you have to manually edit those couple of files in order for it to work:

Running from a Flash Drive
On Windows, Anki can be installed on a USB / flash drive and run as a portable application. The following example assumes your USB drive is drive G.

Copy the \Program Files\Anki folder to the flash drive, so you have a folder like G:\Anki.

Create a text file called G:\anki.bat with the following text:

g:\anki\anki.exe -b g:\ankidata

If you would like to prevent the black command prompt window from remaining open, you can instead use:

start /b g:\anki\anki.exe -b g:\ankidata
Double-clicking on anki.bat should start Anki with the user data stored in G:\ankidata.
The full path including drive letter is required - if you try using \anki\anki.exe instead you will find syncing stops working.

Media syncing with AnkiWeb may not work if your flash drive is formatted as FAT32. Please format the drive as NTFS to ensure media syncs correctly.


Last seen: 1 year 2 months ago
Joined: 2022-12-07 06:11
"installing" Anki without admin rights


My solution solves the problem of running Anki 2.1 without installing, without elevated rights on Windows. This solution won't add it to the portable apps launcher or won't repackage it... it just runs it without having to actually install it in a very simple few steps:

  1. Download Anki 2.1, I have downloaded Qt5 version... I haven't tested if this works on Qt6

  2. Right click and unpack the installer .exe in my case it's (anki-2.1.54-windows-qt5.exe). I have used 7zip to unpack it to a folder.

  3. If you'd run the anki.exe now it would run into errors therfore we do the following: Press Win + R, type in "cmd", enter, type in the following command:

    echo auto > %APPDATA%\Anki2\gldriver


  1. Now you can run anki.exe, Enjoy!

For me it works well and I was able to sync it with ankiweb and I could even install my plugins. It hasn't crashed yet.

Note: I think we are one step away from packaging it for portable apps launcher, but I don't know how to do it. Mind you this is a very barbaric way of running anki I don't know if you can properly uninstall it, but we'll cross that bridge when we get there... :)

Let me know if you run into errors, maybe I can help.

Last seen: 11 months 1 week ago
Joined: 2022-10-01 02:28
Working on Windows 11, Qt6 version.

Making Anki Portable:

1. Download Anki installer (from and extract the installer file to a folder (using 7-zip).

2. Run cmd.exe and run the command given in, corresponding to the Qt version you have downloaded.

For Qt5:
echo auto > %APPDATA%\Anki2\gldriver

For Qt6:
echo software > %APPDATA%\Anki2\gldriver6

3. Now, running Anki.exe will work portably, syncs with ankiweb, addons can be installed and user data will be stored in %Appdata%\Roaming\Anki2\


4. If you want to use a custom folder location for user data, first create a shortcut to Anki.exe, right-click on the shortcut, choose Properties, select the Shortcut tab, and add "-b \path\to\data\folder" after the path to the program, which should leave you with something like

"C:\Path\to\anki.exe" -b "C:\Path\to\anki\data\folder"

5. Now Run the modified Anki shortcut. It will run Anki portably and Anki will store the user data to the path specified in step 4. Don't directly run Anki.exe, it will store user data to %Appdata%.

Log in or register to post comments