2.1. Windows Installation

MFiX has been developed and tested on the following Windows versions:

  • Windows 10 (64-bit)

If you have an issue running MFiX works on your system, ask for help at Support Forum.

2.1.1. Install Anaconda

Download the 64-bit, Python 3, Windows version of Anaconda (~500 MB download) or Miniconda (~50 MB download).

For instance, with the Anaconda installer:

  1. Double-click on the downloaded file. (At the time of this writing, it would be Anaconda3-2020.02-Windows-x86_64.exe)

  2. Uncheck “Add Anaconda to my PATH environment variable”

  3. Check “Register Anaconda as my default Python”

Anaconda is now installed. To verify, open the Start Menu, and run Anaconda Prompt⏎.

2.1.2. Install MFiX

After installing Anaconda, install MFiX with the following steps:

  1. Open the Anaconda Prompt (Start Menu, type anaconda, enter)

  2. Browse to MFiX Download (requires registration and login)

  3. Copy the conda command.

  4. Paste it in the Anaconda Prompt and hit enter.


If you already installed MFiX, you may see the following message. Select y to confirm.

WARNING: A conda environment already exists
Remove existing environment (y/[n])? y

MFiX will be installed in a new conda environment. The process will take a few minutes to complete.

2.1.3. Run MFiX

Open the Anaconda prompt by opening the Start Menu, type “Anaconda Prompt”, and selecting the Anaconda Prompt. Then run the following commands:

  1. Run conda activate mfix-20.4

  2. Run mfix⏎

Your prompt should look something like this:

C:\> conda create -n mfix-20.4 mfix=20.4 -c https://mfix.netl.doe.gov/....

C:\> conda env list
# conda environments:
base        *  C:\Users\user\anaconda3
mfix-20.4      C:\Users\user\anaconda3\envs\mfix-20.4

C:\> conda activate mfix-20.4

C:\(mfix-20.4)> conda env list
# conda environments:
base           C:\Users\user\anaconda3
mfix-20.4   *  C:\Users\user\anaconda3\envs\mfix-20.4

C:\> mfix

You are now ready to proceed to the First Tutorial and Tutorials.

2.1.4. Deactivate Conda Environment

After using MFiX you can just exit to leave the Anaconda Prompt. However, if you need to deactivate the mfix-20.4 conda environment, you can do so with:

C:\(mfix-20.4)> deactivate

This returns to the base conda environment.

2.1.5. Uninstall MFiX

To uninstall MFiX from a conda environment:

C:\(mfix-20.4)> conda uninstall mfix

To remove the conda environment (if you have the environment activated, deactivate it first):

C:\(mfix-20.4)> conda deactivate
C:\> conda env remove -n mfix-20.4

To uninstall Anaconda entirely, go to “Add or remove programs” under Windows Control Panel, and uninstall Anaconda.


To learn more about managing conda environments, visit the conda documentation .