<commit_before>=============
Windows installation
=============


We outline the steps for installing *MRtrix3* for Windows using `MSYS2 <http://sourceforge.net/p/msys2/wiki/MSYS2%20introduction/>`__. 
Please consult :ref:`windows_trouble_shooting` if you encounter any issues with the configure, build
or runtime operations of *MRtrix3*.

Check requirements
------------------

To install *MRtrix3*, you will need the following:

-  a `C++11 <https://en.wikipedia.org/wiki/C%2B%2B11>`__ compliant
   compiler
-  `Python <https://www.python.org/>`__ version >= 2.6
-  The `zlib <http://www.zlib.net/>`__ compression library
-  `Eigen <http://eigen.tuxfamily.org>`__ version 3
-  `Qt <http://www.qt.io/>`__ version >= 4.7 *[GUI components only]*

.. NOTE::
    All of these dependencies are installed below by the MSYS2 package manager.

.. WARNING:: 
    To run the GUI components of *MRtrix3* (``mrview`` & ``shview``), you will also need:

    -  an `OpenGL <https://en.wikipedia.org/wiki/OpenGL>`__ 3.3 compliant graphics card and corresponding software driver 

.. WARNING:: 
    When following the instructions below, make sure that make use the **'MinGW-w64 Win64 shell'**. 'MSYS2 shell' and 'MinGW-w64 Win32 shell' should be avoided.

Install and update MSYS2
------------------------

1. Download and install the most recent 64-bit MSYS2 installer from
   http://msys2.github.io/ (msys2-x86\_64-\*.exe).

2. Run the program **'MinGW-w64 Win64 Shell'** from the start menu.

3. Update the system packages:

   ::

       update-core
   
   .. NOTE::
    Future versions of MSYS2 will drop ``update-core``. If your version came without ``update-core``, it is probably safe to skip this step.
<commit_msg>Update windows_install.rst<commit_after>=============
Windows installation
=============


We outline the steps for installing *MRtrix3* for Windows using `MSYS2 <http://sourceforge.net/p/msys2/wiki/MSYS2%20introduction/>`__. 
Please consult :ref:`windows_trouble_shooting` if you encounter any issues with the configure, build
or runtime operations of *MRtrix3*.

Check requirements
------------------

To install *MRtrix3*, you will need the following:

-  a `C++11 <https://en.wikipedia.org/wiki/C%2B%2B11>`__ compliant
   compiler
-  `Python <https://www.python.org/>`__ version >= 2.6
-  The `zlib <http://www.zlib.net/>`__ compression library
-  `Eigen <http://eigen.tuxfamily.org>`__ version 3
-  `Qt <http://www.qt.io/>`__ version >= 4.7 *[GUI components only]*

.. NOTE::
    All of these dependencies are installed below by the MSYS2 package manager.

.. WARNING:: 
    To run the GUI components of *MRtrix3* (``mrview`` & ``shview``), you will also need:

    -  an `OpenGL <https://en.wikipedia.org/wiki/OpenGL>`__ 3.3 compliant graphics card and corresponding software driver 

.. WARNING:: 
    When following the instructions below, make sure that you use the **'MinGW-w64 Win64 shell'**. 'MSYS2 shell' and 'MinGW-w64 Win32 shell' should be avoided.

Install and update MSYS2
------------------------

1. Download and install the most recent 64-bit MSYS2 installer from
   http://msys2.github.io/ (msys2-x86\_64-\*.exe).

2. Run the program **'MinGW-w64 Win64 Shell'** from the start menu.

3. Update the system packages:

   ::

       update-core
   
   .. NOTE::
    Future versions of MSYS2 will drop ``update-core``. If your version came without ``update-core``, it is probably safe to skip this step.

{'fraction_non_alphanumeric': 0.15938228438228438, 'fraction_numerical': 0.029137529137529136, 'mean_word_length': 3.3074027603513176, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '350615', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1051, 'n_words': 371}