.. _setting-up-a-development-installation: Setting up a development installation ===================================== You need a `fork `__ of the `repository `__ in order to make changes to kikuchipy. Make a local copy of your forked repository and change directories:: git clone https://github.com/your-username/kikuchipy.git cd kikuchipy Set the ``upstream`` remote to the main kikuchipy repository:: git remote add upstream https://github.com/pyxem/kikuchipy.git We recommend installing in a `conda environment `__ with the `Miniconda distribution `__:: conda create --name kp-dev conda activate kp-dev Then, install the required dependencies while making the development version available globally (in the ``conda`` environment):: pip install --editable .[dev] This installs all necessary development dependencies, including those for running tests and building documentation.