conda:conda更新和conda升级有什么区别?

Top*_*ong 5 anaconda conda

conda update --all

conda upgrade --all

我尝试测试差异

似乎该命令conda upgrade--all刚刚更新到最新版本。

conda update --alll考虑兼容性。

那么真正的区别是什么?

mer*_*erv 11

内置文档解释了这一点

$ 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.
...
Run Code Online (Sandbox Code Playgroud)

也就是说,没有区别;upgrade是 的别名update