Use the official anki package. Here’s an example of creating a collection and importing a .apkg package:
anki
Refer to the add-on docs for more details: