> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Updating conda packages

export const Comments = ({children}) => {
  return <div class="my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10" data-callout-type="comments">
      <div class="w-4">
        <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" aria-label="Comments">
            <path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM280 400C266.7 400 256 410.7 256 424C256 437.3 266.7 448 280 448L360 448C373.3 448 384 437.3 384 424C384 410.7 373.3 400 360 400L352 400L352 312C352 298.7 341.3 288 328 288L280 288C266.7 288 256 298.7 256 312C256 325.3 266.7 336 280 336L304 336L304 400L280 400zM320 256C337.7 256 352 241.7 352 224C352 206.3 337.7 192 320 192C302.3 192 288 206.3 288 224C288 241.7 302.3 256 320 256z" />
        </svg>
      </div>
      <div class="text-sm prose min-w-0 w-full">
        {children}
      </div>
    </div>;
};

Keeping your conda packages up to date ensures you have access to the latest features, bug fixes, and security patches. The `conda update` command provides flexible options for updating your packages. The sections below explain how to update individual packages, multiple packages at once, or entire environments. You can also run `conda update --help` to see a list of all available update command options.

## Updating a single package

To update a single package, run the following command:

```sh theme={null}
conda update <PACKAGE>
```

<Comments>
  Replace \<PACKAGE> with the name of the package you want to update.
</Comments>

When you update a package, conda might also update other packages in the environment to maintain compatibility, or install new packages required by updated dependencies. This helps prevent your environment from breaking due to dependency changes. To prevent conda from updating any packages other than the one you specify, use the `--no-update-deps` flag.

<Note>
  The `--no-update-deps` flag only prevents conda from *updating* other packages in the environment. It does not prevent conda from installing new packages required by updated dependencies.
</Note>

## Updating multiple packages

To update multiple packages, list the packages separated by a space:

```sh theme={null}
conda update <PACKAGE> <PACKAGE> <PACKAGE>
```

<Comments>
  Replace each \<PACKAGE> with the name of a package you want to update.
</Comments>

## Updating a package to a specific version

If you need to update a package to a specific version, use the [conda install](/getting-started/working-with-conda/packages/install-packages#specifying-package-versions) command instead.

## Specifying a channel for package updates

Specifying a <Tooltip tip="A location (URL or file path) in a repository where conda looks for packages.">channel</Tooltip> to use when updating a package is useful if the package you want to update is only available (or is more up to date) in a specific channel. Use the `--override-channels` flag to ignore the channels configured in your environment and `.condarc` file, and the `--channel` flag to provide the channel you want to use.

```sh theme={null}
conda update <PACKAGE> --override-channels --channel <CHANNEL>
```

<Comments>
  Replace \<PACKAGE> with the name of the package you want to update.<br />
  Replace \<CHANNEL> with the name of the channel you want to use.
</Comments>

## Updating all packages

<Warning>
  Running `conda update --all` might not update all the packages in a given environment to their latest versions. If the latest version of a package is incompatible with other packages installed in the environment, conda will only update that package to the *latest compatible version*.
</Warning>

```sh theme={null}
conda update --all
```

For more information on updating packages, see the [official conda documentation](https://docs.conda.io/projects/conda/en/stable/commands/update.html).
