kiwix-install is a console tool which allows to setup everything necessary related to a specific content (a ZIM file) for a portable usage. So it creates if necessary directories, library files, index files and move the ZIM files.
kiwix-install [--verbose|-v] [--buildIndex|-i] ADDCONTENT ZIM_PATH KIWIX_PATH
ZIM_PATH is the path, including the filename of the ZIM file.
KIWIX_PATH is the path to a kiwix executable program.