Download and install MSYS2 into C:\Users\UserName\MSYS2. Confirm the installation has msys2.exe, ucrt64.exe, and other shell variants present. Open msys2.exe directly and run pacman -S git to verify pacman works and git installs correctly. Verify you can use both tools in the shell before proceeding.
Locate your OpenCode v1.1 installation. Find OpenCode.exe at a path like C:\Users\UserName\AppData\Local\OpenCode\OpenCode.exe. Confirm opencode-cli.exe is also present in the same directory. Test the CLI by running opencode-cli.exe web to ensure it boots correctly.
Shut down OpenCode. Close the web interface and any running OpenCode processes.