Conda 占用了太多磁盘 space

Conda is taking too much disk space

似乎 conda 更新没有清理。我有超过 4 个未使用的旧包。 我通常

conda update --all 

每周一次。显然,你必须这样做:

conda clean -p

清理并删除旧包。 是否有一个命令可以在一行中进行更新和清理?

Windows 运行:

conda update --all & conda clean -p

在 Linux 上(注意双连字符,因为只有一个 运行 语句的顺序相反):

conda update --all && conda clean -p

此外,如果您想在 Windows、this post describes it well. On Linux it might vary (slightly) with the distribution, here is for Ubuntu

上使用别名