For anyone who develops software on Windows (but needs quick access to a Linux terminal), here's a quick and easy way to get it with MSYS2.
Before starting, install "MSYS2" with default settings.
- From Windows search, launch 'regedit.exe'
- Navigate to "
HKEY_CLASSES_ROOT\Directory\Background\shell
" - Right-click on 'shell' and select
New>Key
. Call this keyMSYS2
. - Now right-click on 'MSYS2' and select
New>Key
. Call this keycommand
- Select
command
and then double-click on (Default). Set 'Value data' to"C:\msys64\msys2_shell.cmd" "-here"
Now try right-clicking in file explorer and select the new shortcut :)