Conda
Conda is a cross-platform package and environment manager for Python that installs binary packages and creates isolated, reproducible environments.
Installation and Setup
Install Miniconda or Anaconda using the official installers, then initialize your shell and verify the CLI:
A typical user wide configuration lives at ~/.condarc.
Key Features
- Creates isolated environments with pinned versions and reproducible installs from YAML files.
- Installs prebuilt binary packages for Python, R, and system-level libraries on all major platforms.
- Works with multiple channels and supports strict channel priority for reliable resolution.
- Coexists with
pipso you can install packages from PyPI inside a Conda environment when needed. - Provides clear environment management commands and caching to speed up repeated operations.
Usage
Create and activate an environment:
Shell
$ conda create -n venv python=3.14
$ conda activate venv
Install packages from the default channel or from conda-forge:
Shell
$ conda install numpy pandas
$ conda install -c conda-forge scipy
Search for available builds and versions:
Shell
$ conda search pandas
List, update, and remove:
Shell
$ conda env list
$ conda update --all
$ conda remove -n venv --all
Configure channels and priority:
Shell
$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
Export and recreate environments for repeatability:
Shell
$ conda env export --from-history > environment.yml
$ conda env create -f environment.yml
By Leodanis Pozo Ramos • Updated Dec. 2, 2025