Check for package in all available environments

I can check for the presence of a package in the current environment: conda list packagename
But, is there a straightforward way to check for the presence of packagename in any of my environments?

You need to use the ‘–envs’ flag:

conda search --envs <pkg>

That will search all of your conda environments.

1 Like

Thanks everso @sweller . I knew there had to be a straightforward way to do this.