git clone https://github.com/ltsdw/anki-installer.git
cd anki-installer
# edit the PREFIX variable in anki_installer.sh file if you want it to be installed in a different place
./anki_installer.sh
After installed add the path where anki was installed to your PATH environment.
example: export PATH=$PATH:/home/my_user/.local/bin.
To call it simple run anki from command line.