TophNanfong
TophNanfong

Reputation: 71

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

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?

Upvotes: 5

Views: 3369

Answers (1)

merv
merv

Reputation: 76740

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.

Upvotes: 11

Related Questions