Three more useful Conda commands

Conda is my go to python environment management tool. I have talked about it here.

Eventually as you use the conda commands, your environments become bloated, have stuff you no longer need or know. Recently saw an example of this on my old vdi system.

Here are three useful commands in conda to reign in this bloated beasts.

Remove unused cached files including unused packages in Conda

conda clean –all

List all revisions made in the active environment

conda list –revisions

Restore an environment to a previous revision

conda install –name ENVNAME –revision

Hope this helps. It surely helped me.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s