Thank you! I also thought about that. One version (older) is in "base" environment, and another - in "cogent" environment. Just installing them under different environments didn't help. I also tried to remove the location of older minimap from the path, but didn't help either.
I will try to understand the modules thing..
Do you use a package manager or did you compile from source?
The older version was installed as a part of another software installation. Newer one I tried to install by
as written in their tutorial ( https://github.com/lh3/minimap2 )
Upd. Installing via "conda install minimap2" helped!