How to install plugins#

The functionality of AiiDA can be extended through plugins. There are various types of functionality that can be extended, such as new data types, calculation plugins and much more. Multiple plugins can be bundled together and distributed in a plugin package. The AiiDA plugin registry gives an overview of public plugin packages.

Installing an AiiDA plugin package is done with pip. If the package is distributed via the Python Package Index (PyPI) you can install it as follows:

$ pip install aiida-plugin-name

A package can also be installed from the source code. For example, if the code is available through a Git repository:

$ git clone https://github.com/aiidateam/aiida-diff
$ cd aiida-diff
$ pip install .

Warning

If you installed or updated a plugin package while your daemon was running, be sure to restart it so that the changes take effect:

$ verdi daemon restart

To verify which plugins are currently installed, use the command:

$ verdi plugin list

It will list the various categories of functionality that can be extended through plugins. To see which plugins are installed for any of these categories, pass the category name as an argument, e.g.:

$ verdi plugin list aiida.data