The expertsystem source code is maintained through Git, so you need to install Git first. Once you've done so, navigate to a suitable folder and run:
git clone git@github.com:ComPWA/expertsystem.git
After that, there should be a folder called :file:`expertsystem`. We'll call this folder the local repository. If you navigate into it, you can see it has:
- a expertsystem folder with Python source code
- a setup.py file with instructions for :ref`setuptools <setuptools>`
- a requirements.txt file listing the Python dependencies
- a requirements-dev.txt containing several tools for :doc:`contributing </contribute>`
These files will be used in the following steps.
Warning
When new commits are merged into the master branch of expertsystem, you need to update your local copy of the source code.
git checkout master
git pull
It's best to have a clean your working tree before you do a :command:`git pull`. See :doc:`/contribute` for more info.