79231998

Date: 2024-11-27 22:06:41
Score: 1
Natty:
Report link

Solution

A revised version of @NamanMadharia 's post to avoid headers and simplify it a bit:

conda list | awk '!/^#/ && NF {print $1}' | xargs

This doesn't use a conda property, but the conda list output comes in columns and can be manipulated with the above command easily enough.

Breakdown:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @NamanMadharia
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Drew Galbraith