opam
opam copied to clipboard
install report (windows): conflict with dkml
Hi,
I have the following experience to report on windows. I installed opam 2.2.0~beta3 from winget, but it's conflicting with a previous forgotten dkml install. Here are my interactions:
- install works well (though I'm initially confused by the diskuv.opam name and the dkml url)
- opam init says it cannot configure cmd, and then exits without doing anything. I suppose cmd is not supported, and retry with powershell. same thing.
- I discover that there's nothing to do in opam init, because there's already an opam root
- I delete opamroot with
Remove-Item
- now opam init works, but detects the ocamlc 4.14.0 from dkml 2.0.2 and uses it as a system switch
- I try to run the uninstaller from dkml, but it doesn't work
- I remove dkml from AppData "by hand"
- now I can create a non-system default switch
I'm not sure what to fix / if there's anything to fix, but this might come up again in the future so I figured I'd open this. Thanks