Miniforge installation
Download and installation
The Miniforge distribution can be downloaded here. The installation is typically done by typing in a terminal:
$ bash /PATH/TO/MINIFORGE_INSTALLER.sh
- The basic differences of Miniconda with respect to the Anaconda distribution are:
Miniconda comes with conda-forge channel already added
the
condacommand is now replaced by themambacommand
Create an environment
After installation, Miniforge comes with a very minimun set of packages. The best way to install new packages is using environments. To create and activate an environment, here named jlab, simply type:
mamba create -n jlab python=3.11
mamba activate jlab
Within this environment you can now install new packages. Here follows a list of commands to create a quite complete environment for data analysis. For more information on these packages have a look here.
mamba install jupyterlab hvplot scikit-image nexusformat xarray-lmfit
pip install nxarray lmfitxps