First attempted to build from source but it wouldn't recognize the binary.
go version
git clone https://github.com/cli/cli.git gh-cli
cd gh-cli
makeI didn't have make installed so I used scoop to install it.
scoop search make
scoop install make
Get-Command makeStill no dice. But since I now had Scoop, I just used it to install gh-cli. Also included confcfg for console settings and pshazz for a nice Git prompt.
scoop bucket add github-gh https://github.com/cli/scoop-gh.git
scoop install gh
scoop install concfg
scoop install pshazzA side effect of installing pshazz is that I now get a message about the SSH agent being disabled.
Since I already use SSH Agent from GitHub for Windows, I can live with it being disabled.
call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd" /k exit
:: call "C:\Program Files\OpenSSH\ssh-agent.exe"
call "%GIT_INSTALL_ROOT%/usr/bin/ssh-add" %HOME%/.ssh/id_rsa