Skip to main content

Command referenceconda env list

conda env list command (Linux & Windows / Conda)

Linux & WindowsCondapackagebeginner

What it does

List all Conda environments and mark the currently active one. When people look up conda env list, they usually want safe flags, copyable examples, and how this Conda subcommand fits Anaconda or Miniconda workflows on Linux, Windows, and macOS. Syntax, options, and practical examples are below.

List all Conda environments and mark the currently active one.

Syntax

conda env list

Common options

Flag / optionMeaning
--jsonPrint environments as JSON.

Practical examples

Show all envs

conda env list

Lists names and prefixes; `*` marks the active environment.

Alias form

conda info --envs

Same environment listing through conda info.

Script-friendly

conda env list --json

Useful for automation that needs env names and paths.

Common mistakes

  • Confusing the environment name with the folder name under `envs/`.
  • Assuming a missing env name means Conda is broken — check prefix-based envs too.

FAQ

What does conda env list do in Conda?

List all Conda environments and mark the currently active one.

Does conda env list work on Windows and Linux?

Yes. Conda runs on Linux, Windows, and macOS; shell activation differs slightly after `conda init`, but the CLI flags are the same.

What is a practical conda env list example?

Try `conda env list` — Lists names and prefixes; `*` marks the active environment.

Is mamba the same as conda env list?

Mamba is a faster drop-in solver for many Conda workflows. Prefer `mamba` only when it is installed; otherwise use the Conda commands on this page.

Browse the full Linux and Windows command reference to search more bash, CMD, PowerShell, Conda, and GitHub CLI commands.