I have setup on my personal and work computers both: Intel compilers with oneAPI and the GNU suite (gcc/gfortran) through the equation.com installers (Fortran, C, C++ for Windows) … msys2 is also a very good option, just don’t forget to add the path to the binaries to your environment variables in order to have the compilers accessible from any Terminal.
Having the compilers already set, my preferred way to use stdlib is through fpm using a local dependency with any other project. And for editors, my favorite is VSCode+ModernFortran plugin (which can also handle fypp). One can easily install fpm with PowerShell using winget:
winget install FortranLang.fpm
Then, I create a local folder for my fortran (fpm-ized) projects, among which is stdlib. In PowerShell git comes now integrated, so from the same PS terminal:
cd D:\my_fortran_path
git clone https://github.com/fortran-lang/stdlib.git
Create some project in the same folder and open with VSCode:
fpm new my_project
cd my_project
code .
In the fpm.toml, add stdlib as a dependency using your locally downloaded version fpm local dependencies:
[dependencies]
stdlib = { path = "../stdlib" }