I had an situation where I could only use Arduino-cli.exe Version 0.35.2 with win7, later versions will not run giving error...
"Exception 0xc0000005 0x8 0x0 0x0
runtime.asmstdcall(0x2a0700060009)"
/usr/local/go/src/runtime/sys_windows_amd64..."
This is due to the current go version used to build Arduino-cli.
To enable me to use the latest CLI on win7 I tried building with "go-legacy-win7" & it compiled successfully.
I can run cmds & it works to select boards, compile etc.. with my coding tool IDE.
This is far short of extensively tested, it may have some
issues but its working perfect within the scope of my usage.
The Arduino-cli-win7.zip is not available at this time.
I will write-up a howto build soon...
Edit
A build of Arduino-cli for Win7 (Arduino-cli_win7) can be found here...