All packages are stored in the package repository. The repository is a directory named {{Mono|BaseXRepo}} or {{Mono|repo}}, which resides in your [[Configuration#Home Directory|home directory]].
BaseX provides three commands for interaction with the package repository – {{Mono|REPO INSTALL}}, {{Mono|REPO DELETE}} and {{Mono|REPO LIST}}. The syntax of these commands is described in [[Commands]]. Since {{Mark|Version 7.1}}, a [[Repository Module]] exists, which can also be used to manage packages via XQuery.
Here we give simple examples of their usage and the usage of a package after it is installed.