.. include:: links.rst ############### Running *XCP-D* ############### .. warning:: *XCP-D* may not run correctly on **M1 chips**. .. _usage_inputs: *************************** Execution and Input Formats *************************** The *XCP-D* workflow takes `fMRIPrep`_, `Nibabies`_, `HCP Pipelines`_, `ABCD-BIDS`_, and `UK Biobank` outputs in the form of BIDS derivatives. In these examples, we use an fmriprep output directory. The outputs are required to include at least anatomical and functional outputs with at least one preprocessed BOLD image. Additionally, each of these should be in directories that can be parsed by the BIDS online validator (even if it is not BIDS valid - we do not require BIDS valid directories). The directories must also include a valid `dataset_description.json`. The exact command to run in *XCP-D* depends on the :doc:`installation` method and data that needs to be processed. We start first with the *bare-metal* :ref:`installation_manually_prepared_environment` installation, as the command line is simpler. *XCP-D* can be executed on the command line, processesing fMRIPrep outputs, using the following command-line structure, for example: .. code-block:: bash xcp_d /path/to/fmriprep_dir \ /path/to/output_dir \ participant \ # analysis_level --mode \ # required --participant-label