• Stars
    star
    3,613
  • Rank 12,263 (Top 0.3 %)
  • Language
    Shell
  • License
    Other
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A conda-forge distribution.

Miniforge

Build miniforge GitHub downloads

This repository holds a minimal installer for Conda specific to conda-forge. Miniforge allows you to install the conda package manager with the following features pre-configured:

  • conda-forge set as the default (and only) channel.
  • Optional support for PyPy in place of standard Python interpreter (aka "CPython").
  • Optional support for Mamba in place of Conda.
  • An emphasis on supporting various CPU architectures (x86_64, ppc64le, and aarch64 including Apple M1).

It can be compared to the Miniconda installer.

Download

Miniforge installers are available here: https://github.com/conda-forge/miniforge/releases

Miniforge3

Latest installers with Python 3.10 (*) in the base environment:

OS Architecture Download
Linux x86_64 (amd64) Miniforge3-Linux-x86_64
Linux aarch64 (arm64) (**) Miniforge3-Linux-aarch64
Linux ppc64le (POWER8/9) Miniforge3-Linux-ppc64le
OS X x86_64 Miniforge3-MacOSX-x86_64
OS X arm64 (Apple Silicon) (***) Miniforge3-MacOSX-arm64
Windows x86_64 Miniforge3-Windows-x86_64

(*) The Python version is specific only to the base environment. Conda can create new environments with different Python versions and implementations.

(**) For Raspberry PI that include a 64 bit processor, you must also use a 64-bit operating system such as Raspberry Pi OS 64-bit or Ubuntu for Raspberry PI. The versions listed as "System: 32-bit" are not compatible with the installers on this website.

(***) Apple silicon builds are experimental and haven't had testing like the other platforms.

Miniforge-pypy3

Latest installers with PyPy 3.9 in the base environment:

OS Architecture Download
Linux x86_64 (amd64) Miniforge-pypy3-Linux-x86_64
Linux aarch64 (arm64) Miniforge-pypy3-Linux-aarch64
Linux ppc64le (POWER8/9) Miniforge-pypy3-Linux-ppc64le
OS X x86_64 Miniforge-pypy3-MacOSX-x86_64
Windows x86_64 Miniforge-pypy3-Windows-x86_64

Mambaforge

Latest installers with Mamba in the base environment:

OS Architecture Download
Linux x86_64 (amd64) Mambaforge-Linux-x86_64
Linux aarch64 (arm64) Mambaforge-Linux-aarch64
Linux ppc64le (POWER8/9) Mambaforge-Linux-ppc64le
OS X x86_64 Mambaforge-MacOSX-x86_64
OS X arm64 (Apple Silicon) Mambaforge-MacOSX-arm64
Windows x86_64 Mambaforge-Windows-x86_64

Mambaforge-pypy3

Latest installers with Mamba and PyPy in the base environment:

OS Architecture Download
Linux x86_64 (amd64) Mambaforge-pypy3-Linux-x86_64
Linux aarch64 (arm64) Mambaforge-pypy3-Linux-aarch64
Linux ppc64le (POWER8/9) Mambaforge-pypy3-Linux-ppc64le
OS X x86_64 Mambaforge-pypy3-MacOSX-x86_64
Windows x86_64 Mambaforge-pypy3-Windows-x86_64

Install

Unix-like platforms (Mac OS & Linux)

Download the installer using curl or wget or your favorite program and run the script. For eg:

curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh

or

wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh

Uninstallation

Uninstalling Miniforge means removing the files that were created during the installation process. You will typically want to remove:

  1. Any modifications to your shell rc files that were made by Miniforge:
# Use this first command to see what rc files will be updated
conda init --reverse --dry-run
# Use this next command to take action on the rc files listed above
conda init --reverse
# Temporarily IGNORE the shell message 
#       'For changes to take effect, close and re-open your current shell.', 
# and CLOSE THE SHELL ONLY AFTER the 3rd step below is completed.
  1. Remove the folder and all subfolders where the base environment for Miniforge was installed:
CONDA_BASE_ENVIRONMENT=$(conda info --base)
echo The next command will delete all files in ${CONDA_BASE_ENVIRONMENT}
# Warning, the rm command below is irreversible!
# check the output of the echo command above
# To make sure you are deleting the correct directory
rm -rf ${CONDA_BASE_ENVIRONMENT}
  1. Any global conda configuration files that are left behind.
echo ${HOME}/.condarc will be removed if it exists
rm -f "${HOME}/.condarc"

Windows

Download the installer and double click it on the file browser.

Non-interactive install

For non-interactive usage one can use the batch install option:

bash Miniforge3-Linux-x86_64.sh -b  # or similar for other installers for unix platforms

Look at the extra options by running the following:

bash Miniforge3-Linux-x86_64.sh -h

or if you are on windows, run:

start /wait "" Miniforge3-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\Miniforge3

Downloading the installer as part of a CI pipeline

If you wish to download the appropriate installer through the command line in a more automated fashion, you may wish to a command similar to

For Linux, any architecture, use the following command

wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"

When you want to use Mambaforge, you should replace Miniforge into Mambaforge:

wget -O Mambaforge.sh  "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"

For MacOSX, any architecture, use the following command

curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-$(uname -m).sh"

This will download the appropriate installer for the present architecture with the filename Miniforge3.sh (or Mambaforge.sh). Run the shell script with the command in batch mode with the -b flash:

bash Miniforge3.sh -b -p "${HOME}/conda"

-p is prefix option. A directory wil be createrd on "${HOME}/conda".

Then you should create the path to conda and activate conda. Run this command:

source "${HOME}/conda/etc/profile.d/conda.sh"

Finally, you can run the command to activate the base environment

conda activate

If you downloaded the Mambaforge installer, you should also run the following command after source "${HOME}/conda/etc/profile.d/conda.sh:

source "${HOME}/conda/etc/profile.d/mamba.sh"

Homebrew

On macOS, you can install miniforge with Homebrew by running

brew install miniforge

Features

  • Automatic build of constructor.
  • Automatic upload of constructor results.
  • Automatic testing of constructor.
  • Integration with conda-forge's developer documentation.
  • Integration with conda-forge's official site.
  • Upstream to Anaconda ?

Testing

After construction on the CI, the installer is tested against a range of distribution that match the installer architecture ($ARCH). For example when architecture is aarch64, the constructed installer is tested against:

  • Centos 7
  • Debian Buster (10)
  • Debian Bullseye (11)
  • Ubuntu 16.04 (LTS)
  • Ubuntu 18.04 (LTS)
  • Ubuntu 20.04 (LTS)
  • Ubuntu 22.04 (Latest release -- also happens to be LTS)

Local usage

Installers are built and uploaded via the CI but if you want to construct your own Miniforge installer, here is how:

# Configuration
export ARCH=aarch64
export DOCKERIMAGE=condaforge/linux-anvil-aarch64

bash build_miniforge.sh

Release

To release a new version of Miniforge:

  • Make a new pre-release on GitHub with name $CONDA_VERSION-$BUILD_NUMBER
  • Wait until all artifacts are uploaded by CI
    • For each build, we upload 3 artifacts
      1. One installer with the version name
      2. One installer without the version name
      3. The SHA256
    • At the time of writing, the is a sum of 72 artifacts, and with the two sources, we expect a grand total of 74 artifacts.
  • Mark the pre-release as a release

NOTE: using a pre-release is important to make sure the latest links work.

License

BSD 3-Clause

History

Relevant conversations:

More Repositories

1

staged-recipes

A place to submit conda recipes before they become fully fledged conda-forge feedstocks
Python
650
star
2

conda-smithy

The tool for managing conda-forge feedstocks.
Python
137
star
3

conda-forge.github.io

The conda-forge website.
Python
110
star
4

tensorflow-feedstock

A conda-smithy repository for tensorflow.
Shell
87
star
5

gh-feedstock

A conda-smithy repository for gh.
Shell
74
star
6

opencv-feedstock

A conda-smithy repository for opencv.
Batchfile
58
star
7

feedstocks

All conda-forge feedstocks, in one convenient place
56
star
8

conda-forge-pinning-feedstock

A conda-smithy repository for conda-forge-pinning.
Python
45
star
9

python-feedstock

A conda-smithy repository for python.
Shell
43
star
10

rasterio-feedstock

A conda-smithy repository for rasterio.
Python
42
star
11

docker-images

Repository to host the Docker images files used in conda-forge
Dockerfile
40
star
12

qgis-feedstock

A conda-smithy repository for qgis.
Shell
36
star
13

miniforge-images

Container images that include conda-forge's miniforge setup
Dockerfile
31
star
14

root-feedstock

A conda-smithy repository for root.
CMake
27
star
15

gdal-feedstock

A conda-smithy repository for gdal.
Shell
27
star
16

matplotlib-feedstock

A conda-smithy repository for matplotlib.
Batchfile
23
star
17

cudatoolkit-dev-feedstock

A conda-smithy repository for cudatoolkit-dev.
Python
23
star
18

python-spams-feedstock

A conda-smithy repository for python-spams.
Shell
22
star
19

admin-requests

Python
20
star
20

pyside2-feedstock

A conda-smithy repository for pyside2.
Shell
18
star
21

cfep

conda-forge's Enhancement Proposal
17
star
22

by-the-numbers

Data, notebooks and visualizations of the conda-forge ecosystem
Jupyter Notebook
15
star
23

julia-feedstock

A conda-smithy repository for julia.
Shell
15
star
24

gdb-feedstock

A conda-smithy repository for gdb.
Shell
15
star
25

geopandas-feedstock

A conda-smithy repository for geopandas.
Python
15
star
26

boost-feedstock

A conda-smithy repository for boost.
Shell
14
star
27

pytorch-cpu-feedstock

A conda-smithy repository for pytorch-cpu.
Shell
13
star
28

scipoptsuite-feedstock

A conda-smithy repository for scipoptsuite.
Batchfile
13
star
29

ffmpeg-feedstock

A conda-smithy repository for ffmpeg.
Shell
12
star
30

spacy-feedstock

A conda-smithy repository for spacy.
Shell
12
star
31

isce2-feedstock

A conda-smithy repository for isce2.
Shell
12
star
32

poppler-feedstock

A conda-smithy repository for poppler.
Shell
12
star
33

fenics-feedstock

A conda-smithy repository for fenics.
Shell
12
star
34

memory_profiler-feedstock

A conda-smithy repository for memory_profiler.
11
star
35

vtk-feedstock

A conda-smithy repository for vtk.
Shell
11
star
36

r-base-feedstock

A conda-smithy repository for r-base.
Shell
11
star
37

qt-feedstock

A conda-smithy repository for qt.
C++
11
star
38

implicit-feedstock

A conda-smithy repository for implicit.
11
star
39

jupyterlab-feedstock

A conda-smithy repository for jupyterlab.
11
star
40

nvcc-feedstock

A conda-smithy repository for nvcc.
Shell
10
star
41

ipopt-feedstock

A conda-smithy repository for ipopt.
CMake
10
star
42

cling-feedstock

A conda-smithy repository for cling.
Shell
10
star
43

ray-packages-feedstock

A conda-smithy repository for ray-packages.
Shell
10
star
44

ctng-compiler-activation-feedstock

A conda-smithy repository for ctng-compiler-activation.
Shell
10
star
45

earthengine-api-feedstock

A conda-smithy repository for earthengine-api.
10
star
46

conda-forge-ci-setup-feedstock

A conda-smithy repository for conda-forge-ci-setup.
Python
10
star
47

clangdev-feedstock

A conda-smithy repository for clangdev.
Shell
10
star
48

casadi-feedstock

A conda-smithy repository for casadi.
Batchfile
9
star
49

python-duckdb-feedstock

A conda-smithy repository for python-duckdb.
Python
9
star
50

scrapy-feedstock

A conda-smithy repository for scrapy.
9
star
51

ctng-compilers-feedstock

A conda-smithy repository for ctng-compilers.
Shell
9
star
52

basemap-feedstock

A conda-smithy repository for basemap.
Batchfile
9
star
53

osmnx-feedstock

A conda-smithy repository for osmnx.
8
star
54

go-feedstock

A conda-smithy repository for go.
Shell
8
star
55

petsc-feedstock

A conda-smithy repository for petsc.
Shell
8
star
56

openblas-feedstock

A conda-smithy repository for openblas.
Shell
8
star
57

uwsgi-feedstock

A conda-smithy repository for uwsgi.
Shell
8
star
58

rdkit-feedstock

A conda-smithy repository for rdkit.
Batchfile
8
star
59

openmpi-feedstock

A conda-smithy repository for openmpi.
Shell
8
star
60

caffe-feedstock

A conda-smithy repository for caffe.
Makefile
8
star
61

fiona-feedstock

A conda-smithy repository for fiona.
Shell
8
star
62

shapely-feedstock

A conda-smithy repository for shapely.
8
star
63

compilers-feedstock

A conda-smithy repository for compilers.
8
star
64

orekit-feedstock

A conda-smithy repository for orekit.
Shell
8
star
65

gazebo-feedstock

A conda-smithy repository for gazebo.
Shell
8
star
66

conda-forge-repodata-patches-feedstock

A conda-smithy repository for conda-forge-repodata-patches.
Python
7
star
67

rust-feedstock

A conda-smithy repository for rust.
Shell
7
star
68

pinocchio-feedstock

A conda-smithy repository for pinocchio.
Shell
7
star
69

lammps-feedstock

A conda-smithy repository for lammps.
Shell
7
star
70

conda-forge-webservices

the heroku app deployed to run conda-forge admin commands and linting
Python
7
star
71

boost-cpp-feedstock

A conda-smithy repository for boost-cpp.
Shell
7
star
72

conda-feedstock

A conda-smithy repository for conda.
Batchfile
7
star
73

fastapi-feedstock

A conda-smithy repository for fastapi.
7
star
74

pysoundfile-feedstock

A conda-smithy repository for pysoundfile.
7
star
75

pandas-feedstock

A conda-smithy repository for pandas.
7
star
76

gstreamer-feedstock

A conda-smithy repository for gstreamer.
Shell
7
star
77

h5py-feedstock

A conda-smithy repository for h5py.
Python
7
star
78

jaxlib-feedstock

A conda-smithy repository for jaxlib.
Shell
7
star
79

gmt-feedstock

A conda-smithy repository for gmt.
Shell
7
star
80

conda-ecosystem-user-package-isolation-feedstock

A conda-smithy repository for conda-ecosystem-user-package-isolation.
Shell
7
star
81

graph-tool-feedstock

A conda-smithy repository for graph-tool.
Shell
7
star
82

esmpy-feedstock

A conda-smithy repository for esmpy.
Shell
6
star
83

gnuradio-feedstock

A conda-smithy repository for gnuradio.
Batchfile
6
star
84

vega-cli-feedstock

A conda-smithy repository for vega-cli.
Shell
6
star
85

lapack-feedstock

A conda-smithy repository for lapack.
Shell
6
star
86

pyarrow-feedstock

Now part of https://github.com/conda-forge/arrow-cpp-feedstock / A conda-smithy repository for pyarrow.
Batchfile
6
star
87

qe-feedstock

A conda-smithy repository for qe.
Shell
6
star
88

snowflake-connector-python-feedstock

A conda-smithy repository for snowflake-connector-python.
Shell
6
star
89

openmc-feedstock

A conda-smithy repository for openmc.
Shell
6
star
90

nco-feedstock

A conda-smithy repository for nco.
Shell
6
star
91

lightgbm-feedstock

A conda-smithy repository for lightgbm.
Python
6
star
92

gsl-feedstock

A conda-smithy repository for gsl.
C
6
star
93

numpy-feedstock

A conda-smithy repository for numpy.
Batchfile
6
star
94

polars-feedstock

A conda-smithy repository for polars.
Batchfile
6
star
95

arrow-cpp-feedstock

A conda-smithy repository for arrow-cpp.
Shell
6
star
96

ruff-feedstock

A conda-smithy repository for ruff.
Batchfile
6
star
97

geant4-feedstock

A conda-smithy repository for geant4.
Shell
6
star
98

emacs-feedstock

A conda-smithy repository for emacs.
Shell
6
star
99

scikit-learn-feedstock

A conda-smithy repository for scikit-learn.
6
star
100

python-eccodes-feedstock

A conda-smithy repository for python-eccodes.
Shell
6
star