In PHPStorm, go to: SETTINGS -> TOOLS -> TERMINAL
In environment variables configuration
MSYSTEM=MINGW64;CHERE_INVOKING=1;MSYS2_PATH_TYPE=inherit;
In shell path configuration
C:\msys64\usr\bin\bash.exe --login -i
In PHPStorm, go to: SETTINGS -> TOOLS -> TERMINAL
In environment variables configuration
MSYSTEM=MINGW64;CHERE_INVOKING=1;MSYS2_PATH_TYPE=inherit;
In shell path configuration
C:\msys64\usr\bin\bash.exe --login -i
pacman -S mingw-w64-x86_64-toolchain
mettre dans le path windows C:\msys64\usr\bin
dans la config makefile de phpstorm -> C:\msys64\usr\bin\make.exe
pacman -S make emacs cmake
pacman -S mingw-w64-x86_64-toolchain
.bashrc