<p>Then open <code>vcruntime\AttachedContainer\packages\vcRuntimeMinimum_amd64\cab1.cab</code> and copy all the files into the KeePassXC directory.</p>
<p>Start the <em>MSYS2 UCRT64</em> environment by running <code>ucrt64.exe</code>.
UCRT64 is Microsoft's <em>Universal C Runtime Library</em> and is the preferred build environment on modern (Windows 10 and above) Windows operating systems.
This will install all of the build tools including <code>gcc</code>, <code>g++</code>, and <code>mingw32-make</code>, plus the <code>libstdc</code> and <code>libstdc++</code> libraries.</p>
<p>Optionally, add <code>%USERPROFILE%\msys64\ucrt64\bin</code> to the <code>%PATH%</code> environment variable to get access to the tools from the normal Windows Command Prompt or PowerShell.</p>
<p>The Windows built-in ssh-agent needs admin to be started, so we have to use <code>PAGEANT.EXE</code> instead.</p>
<p>The <ahref="https://the.earth.li/~sgtatham/putty/latest/w64/putty.zip">ZIP file</a> can be extracted to any directory.</p>
<p>Running <code>PAGEANT.EXE --openssh-config %USERPROFILE%\.ssh\config.d\pageant.config</code> will write an OpenSSH config file with the path to the pipe used for communication.
This can be used by the built-in Windows OpenSSH client by adding an <code>Include config.d\pageant.config</code> line to <code>%USERPROFILE%\.ssh\config</code>.</p>
<p>The installer can run without admin permissions, or the ZIP version can run from any directory.</p>
<p>The following can be put into a batch file named <code>vim.cmd</code> in the <code>%PATH%</code> to make it easier to launch without pulling in all the other programs:</p>
<p>Use the following PowerShell one-liner to download the latest Compose file from the <code>libX11</code> project to <code>%USERPROFILE%\.XCompose</code>.
You can then disable all of the <em>Sequences</em> on the <em>Composing</em> tab to use only these sequences.</p>