

This installation allows then to use git in a cmd Command Prompt. To install just double click on the msi file. Download the latest release for Windows win64-圆4 platform (at the time this tutorial was written it was the file cmake-3.19.0-win64-圆4.msi). G++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0ĬMake could be download from. To check if MinGW-W64 installation succeed, open a new cmd Command Prompt, and run: C:\> mingw32-make -version.Click "New" button to add a new line with C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin.The "Edit environment variable" UI will appear.Under the "User Variables" section (the upper half), find the row with "Path" in the first column, and click edit.Click the "Environment Variables." button.Open the Start Search, type in "env", and choose "Edit environment variables for your account".In that case, to modify Path environment variable do the following:

Note Since setx command is not able to handle a var that has more than 1024 characters (which could be the case of Path var), it may happen that the previous command is not working as expected. To this end open cmd Comand Prompt and do the following: C:\> setx Path "%Path% C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin" To finish the installation, just add C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin folder to the Path variable.

