Command referenceconda update --all
conda update --all command (Linux & Windows / Conda)
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 / option | Meaning |
|---|---|
| --all | Update all packages in the environment. |
| -n, --name | Environment to update. |
| -y, --yes | Skip confirmation. |
| --dry-run | Show 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.
Related commands
- conda updateUpdate Conda packages (or Conda itself) to newer compatible versions.
- conda listList packages installed in the active or named Conda environment.
- conda env exportExport the active (or named) environment to a YAML or explicit package lock for sharing.
- conda cleanRemove unused Conda cache files, package tarballs, and temporary indices to free disk space.
- conda createCreate a new isolated Conda environment with an optional Python version and starter packages.
- conda activateActivate a named or path-based Conda environment in the current shell session.
- conda installInstall packages into the active or named Conda environment from configured channels.
- conda env listList all Conda environments and mark the currently active one.
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.