Quick installation

Prerequisites

Ubuntu

sudo apt-get install git python2.7-dev python-pip virtualenv postgresql postgresql-server-dev-all postgresql-client
sudo reboot

See Ubuntu instructions for details.

MacOS X (Homebrew)

brew install git python postgresql
pg_ctl -D /usr/local/var/postgres start

See MacOS X (Homebrew) instructions for details.

MacOS X (MacPorts)

sudo port install git python postgresql96 postgresql96-server
pg_ctl -D /usr/local/var/postgres start

See MacOS X (MacPorts) instructions for details.

Gentoo Linux

emerge -av git python postgresql
sudo reboot

See Gentoo Linux instructions for details.

Windows Subsystem for Linux

sudo apt-get install git python2.7-dev python-pip virtualenv postgresql postgresql-server-dev-all postgresql-client
sudo service postgresql start

See WSL instructions for details.

Installation

Install the aiida python package:

pip install aiida

Note

If you prefer the conda package manager, use conda install -c conda-forge aiida-core instead. At this time, most AiiDA plugins are only available through pip (and you can mix the two).

Set up your AiiDA profile:

verdi quicksetup

After completing the setup, your newly created profile should show up in the list:

$ verdi profile list
Configuration folder: /home/username/.aiida
> quicksetup (DEFAULT) (DAEMON PROFILE)

Time to get started!

If you got stuck at any point, see the full installation guide or the troubleshooting section for more details.

For further customizations, such as TAB completion for verdi commands, see the configuration section.