First, find the top largest files

find ~ -type f -exec du -h {} + | sort -rh | head -n 20
  • Clean conda: conda clean -a -y, this will remove Tarballs and extracted packages, Index caches, and Logs
  • Conda envs:
    • List all envs: conda info –envs
    • Remove one: conda env remove –name YOURENVNAME
  • clean pip cache: pip cache purge