Install Using Conda (Advanced)

It is also possible to install SimNIBS using the Conda package manager.

Windows

  1. Download and install the Miniconda Python 3 distribution.

  2. Download the SimNIBS environment file

  3. Open Anaconda Prompt, which can be found in the Start Menu.

  4. Run in the Prompt:

conda env create -f "%USERPROFILE%\Download\environment_win.yml"
conda activate simnibs_env
pip install -f https://github.com/simnibs/simnibs/releases/latest simnibs

  1. (Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the postinstall_simnibs script:

md "%USERPROFILE%\SimNIBS"
postinstall_simnibs --copy-matlab --setup-links -d "%USERPROFILE%\SimNIBS"

Linux

  1. Download and install the Miniconda Python 3 distribution.

  2. Download the SimNIBS environment file

  3. Run in a terminal window:

export PATH="$HOME/miniconda/bin:$PATH" # This part can change depending on your miniconda installation
conda env create -f ~/Downloads/environment_linux.yml
conda activate simnibs_env
pip install -f https://github.com/simnibs/simnibs/releases/latest simnibs

  1. (Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the postinstall_simnibs script:

mkdir $HOME/SimNIBS
postinstall_simnibs --copy-matlab --setup-links -d $HOME/SimNIBS

MacOS

  1. Download and install the Miniconda Python 3 distribution.

  2. Download the SimNIBS environment file

  3. Run in a terminal window:

export PATH="$HOME/miniconda/bin:$PATH" # This part can change depending on your miniconda installation
conda env create -f ~/Downloads/environment_macOS.yml
conda activate simnibs_env
pip install -f https://github.com/simnibs/simnibs/releases/latest simnibs

  1. (Optional) To setup the menu icons, file associations, the MATLAB library and add SimNIBS to the system path, run the postinstall_simnibs script:

mkdir -p $HOME/Applications/SimNIBS
postinstall_simnibs --copy-matlab --setup-links -d $HOME/Applications/SimNIBS