Skip to main content

Command referenceconda update --all

conda update --all command (Linux & Windows / Conda)

Linux & WindowsCondapackageintermediateDestructive — use carefully

What it does

Attempt to update every package in the target Conda environment in one solve. When people look up conda update all packages, 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.

Attempt to update every package in the target Conda environment in one solve.

Syntax

conda update --all [-n ENV] [-y]

Common options

Flag / optionMeaning
--allUpdate all packages in the environment.
-n, --nameEnvironment to update.
-y, --yesSkip confirmation.
--dry-runShow the planned transaction only.

Practical examples

Dry run first

conda update --all --dry-run

Previews upgrades before changing the env.

Update active env

conda update --all

Applies the solved upgrades to the active environment.

Named env

conda update -n tools --all -y

Non-interactive full update of tools.

Common mistakes

  • Running update --all on a pinned research env right before a deadline.
  • Ignoring conflict reports and forcing packages afterward with pip.

FAQ

What does conda update --all do in Conda?

Attempt to update every package in the target Conda environment in one solve.

Does conda update --all 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 update --all example?

Try `conda update --all --dry-run` — Previews upgrades before changing the env.

Is mamba the same as conda update --all?

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.