Using MSYS2 64-bit version 20161025 on Windows 10...
I'm unable to get msys2 to recognize programs in the windows path. For example, after installing Go version 1.8.3 using the windows the installer: (1) Cygwin finds go.exe (2) the Windows command prompt finds go.exe but (3) MSYS2 does not.
Please refer to attached image. Thanks in advance.
Adding MSYS2 to your PATH variableClick on the “Environment Variables” button. In the “System Variables” section, scroll down and double-click on the “Path” variable. If you're on Windows 7/8, add the text C:\msys32\usr\bin;C:\msys32\usr\local\bin; to the beginning of the variable value.
MSYS2 ("minimal system 2") is a software distribution and a development platform for Microsoft Windows, based on Mingw-w64 and Cygwin, that helps to deploy code from the Unix world on Windows.
Run msys2_shell.cmd -use-full-path
or
uncomment MSYS2_PATH_TYPE=inherit
in msys2.ini
(can be found in the installation directory of MSYS2).
Related GitHub issue regarding the inherit
flag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With