Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Conda, command to list disk space used for each environment

Is there a conda command associated with:

conda env list

That allows one to list the size each conda environment is taking up on disk?

like image 208
Paul Avatar asked Feb 02 '26 11:02

Paul


1 Answers

Conda doesnt seem to have a command to directly do this. However, for linux, we can use the disk usage tool to list the size of the folders where the environments are stored as follows

$ du -sh ~/anaconda3/envs/* 

The folder where the envs are stored can be seen by running

$ conda env list
like image 143
TAHA ADEEL MOHAMMED Avatar answered Feb 05 '26 07:02

TAHA ADEEL MOHAMMED



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!