How to reset anaconda root environment
See https://github.com/conda/conda/issues/1032
This has been implemented as
conda list --revisions
andconda install --rev REV_NUM
.
EDIT: be careful though if you execute conda install --rev 0
as this will remove your root environment and the conda
command. Maybe conda install --rev 1
would produce the desired behavior (restore root environment to its state after first installation).
EDIT 2018-03-07: Use the --revision
argument instead of --rev
Not exactly what you are asking but I found conda clean -all
useful to clean out a bunch of old packages, logs etc. which somewhat restores conda
to a new state.