Is there a way to expose commandline programs installed in a particular environment to the outside, similar to the way pipx does for python scripts?
That would mean a process like:
a particular CLI program gets installed in an isolated environment
an executable file gets exposed in the search path permanently
afterwards the exposed program can be called without the need to a) explicitly activate the environment manually beforehand and b) deactivate it after the call, such that it can be used like any other commandline excutable and ideally even included in shell pipelines containing other programs from independent environments simultaneously.
There is condax. It doesn’t advertise Windows support although in an issue quite some time ago the author said it did work on Windows.
Another option is using conda run. This doesn’t put an executable in the search path but lets you run the program in its environment context without having to explicitly activate/deactivate the environment. In the past it had some problems but the past few years it’s worked pretty well for me (although I rarely use it for anything but conda run python).