aheckmann / m

mongodb version management
MIT License
269 stars 56 forks source link

Docs say it works on Windows 10; has it been tried on Windows 11? #97

Open boutell opened 1 month ago

boutell commented 1 month ago

Worth updating the README if that is also supported. Thanks again for a great tool.

stennie commented 1 month ago

Hi @boutell,

Should be fine on Windows 11 (or at least, there have not had been any reports of issues).

If you are able to confirm, I will update the README.

Regards, Stennie

boutell commented 2 weeks ago

Hi Stennie,

It does not seem to work so far.

If I install nodejs with nvm for windows, launch powershell, and run npm install -g m, it installs (after I give permission for scripts to run at all), but then when I try to use m is prints an error about not finding bash.exe. Sounds like some flavor of bash is mandatory, OK.

So I installed git for Windows, aka "git bash," and gave that a try. Now when I try "m install 8" I get:

Prebuilt binaries for mingw64_nt-10.0-26100-x86_64 8 do not appear to be available.

For supported platforms, please see:
   https://www.mongodb.com/docs/manual/administration/production-notes/

To build from source, check the relevant build notes in GitHub:
   https://github.com/mongodb/mongo/blob/master/docs/building.md

I got a similar error with m install 6

This machine is running Windows 11 Pro (I did check).

Hope this is helpful!