Last modified: May 25, 2025 By Alexander Williams

How to Install Miniconda for Python

Miniconda is a lightweight version of Anaconda. It includes only Python and Conda. It is perfect for managing environments and packages efficiently.

What Is Miniconda?

Miniconda is a free minimal installer for Conda. It is a smaller alternative to Anaconda. It includes Python, Conda, and essential dependencies.

With Miniconda, you can create isolated environments. This helps avoid conflicts between different projects. It is ideal for developers who need flexibility.

Prerequisites

Before installing Miniconda, ensure your system meets these requirements:

  • A compatible OS (Windows, macOS, or Linux).
  • Basic knowledge of the command line.
  • Enough disk space (around 400 MB).

If you don't have Python installed, check this guide first.

Download Miniconda

Follow these steps to download Miniconda:

  1. Visit the official Miniconda download page.
  2. Choose the installer for your OS.
  3. Select the Python version (3.x recommended).

For Windows, download the .exe file. For macOS and Linux, choose the appropriate shell script.

Install Miniconda on Windows

Follow these steps for Windows installation:

  1. Double-click the downloaded .exe file.
  2. Follow the setup wizard instructions.
  3. Check "Add Miniconda to PATH" if prompted.
  4. Complete the installation.

To verify, open Command Prompt and run:


conda --version

You should see the Conda version.

Install Miniconda on macOS/Linux

For macOS and Linux, use the terminal:

  1. Open a terminal window.
  2. Navigate to the download directory.
  3. Run the shell script:

bash Miniconda3-latest-MacOSX-x86_64.sh

Follow the prompts. Restart the terminal after installation.

Verify with:


conda --version

Create a Conda Environment

Conda environments help manage dependencies. To create one, run:


conda create --name myenv python=3.9

Replace myenv with your preferred name. Activate the environment:


conda activate myenv

For more on environments, see this guide.

Install Packages with Conda

Use Conda to install Python packages. For example:


conda install numpy pandas

This installs NumPy and Pandas in your active environment.

Update Conda

Keep Conda updated for the latest features:


conda update conda

Run this periodically to ensure optimal performance.

Uninstall Miniconda

To remove Miniconda, follow these steps:

  1. Delete the Miniconda installation folder.
  2. Remove Conda from your PATH (if added).
  3. Clean up any remaining files.

On Linux/macOS, also remove the .conda folder from your home directory.

Conclusion

Miniconda is a powerful tool for Python developers. It simplifies environment and package management. Follow this guide to install and use it efficiently.

For more Python setup guides, check our Plone installation tutorial.