Miniconda is a lightweight alternative to Anaconda, giving you full control over your Python environment with a minimal installation size. This guide walks you through a quick and silent installation of Miniconda on Windows, macOS, and Linux.
Lightweight: Miniconda is much smaller than Anaconda.
Flexible: Install only the packages you need.
Efficient: Ideal for scripting, automation, and low-resource systems.
Production Ready: Common in production and containerized environments.
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o .\miniconda.exe
start /wait "" .\miniconda.exe /S
del .\miniconda.exe
wget "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -outfile ".\miniconda.exe"
Start-Process -FilePath ".\miniconda.exe" -ArgumentList "/S" -Wait
del .\miniconda.exe
Note: This performs a silent installation. You can customize the location or add Miniconda to PATH by adjusting the installer flags.
mkdir -p ~/miniconda3
curl -o ~/miniconda3/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
source ~/miniconda3/bin/activate
conda init --all
Restart your terminal or shell for changes to take effect.
Run:
conda --version
Expected output:
conda 24.3.0
conda create --name dsenv python=3.11
conda activate dsenv
Miniconda offers a fast and efficient way to manage Python environments. With just a few commands, you can have a fully functional environment for data science, development, or production-ready Python projects.
Join Anik on Peerlist!
Join amazing folks like Anik and thousands of other people in tech.
Create ProfileJoin with Anik’s personal invite link.
0
10
0