conda:what's the difference between conda update and conda upgrade?

Viewed 1162

conda update --all

conda upgrade --all

I tried to test the difference

seems that the commandconda upgrade--all just update to the last version.

and the conda update --alll consider compatibility.

so what's the real difference?

1 Answers

The built-in documentation explains this

$ conda --help
usage: conda [-h] [-V] command ...

conda is a tool for managing and deploying applications, environments and packages.

Options:

positional arguments:
  command
    ...
    update       Updates conda packages to the latest compatible version.
    upgrade      Alias for conda update.

optional arguments:
  -h, --help     Show this help message and exit.
...

That is, there is no difference; upgrade is an alias for update.

Related