Forum Discussion
Windows 11 environment variables related doubts
The entry might get removed, everything else will stay the same.
I'm assuming that everything up until installing MinGW went correctly.
When changing your 'path' variable, whether you put it in user or system doesn't matter.
Unless you're planning to share the computer / laptop with others.
Do make sure that you're changing your path, and not your gopath; those are different.
Either dubbelclick the row, or select it and press 'Edit', it's the second button.
When you're in the path menu, add a new one containing the path to your installation.
By default, this is C:\msys64\mingw64\bin unless you've changed the installation directory.
Mine is different because I like to be special.
You can always browse and check it out if you're uncertain.
Make sure to restart all shells (terminal, command prompt) and Visual Studio Code.
At this point everything should work. Try this or we'll try something else.