What Is Conda? Python Environment and Package Management
Conda is a command-line package and environment manager that creates, isolates, and switches between Python setups with different package and interpreter versions. Managing different projects and their requirements is challenging when Python coding involves many varying package versions and intricate setups. Conda solves this by letting you work with isolated environments from the command line. Do not confuse Conda with Anaconda, which is a scientific-computing distribution that bundles a set of packages including NumPy, SciPy, Jupyter notebooks, and Conda itself.
With the Conda package manager, you can create, list, remove, and update environments with different versions of Python and packages installed. This introductory post describes the process of creating and using Conda environments — a practical starting point if you have not used Conda yet. For complete reference material, read the [official Conda documentation][1]. Below is a concise review of the most useful Conda commands to start with.
Installing Conda on macOS, Windows, and Linux
Conda installs on Windows, macOS, and Linux platforms by following the [official installation instructions][2]. This post uses conda 4.11.0 on macOS. Beware that some commands differ if you use Conda versions below 4.6.
Conda was installed with the Miniforge3-MacOSX-arm64 distribution downloaded from Miniforge Releases and run via the bash script:
/bin/bash Miniforge3-MacOSX-arm64.sh
Managing Conda Environments from the Command Line
Conda Environment Management: Summary
🔒 Subscribe to keep reading.
References
🔒 Subscribe to keep reading.
You've hit a Deep Dive tutorial.
I spend dozens of hours researching, coding, and breaking things to write these guides. This content is free, but reserved for my subscriber community. Drop your email below to unlock this guide (and all past/future deep dives):
Full content temporarily unavailable — refresh in a moment
Already a subscriber? Use the magic link from your last newsletter, or reset your password.
Log in to unlock
New subscribers get an inbox mail: Set a password to unlock articles. The form does not log you in — use the same email afterwards.