Npm i @openzeppelin/cli fails on Windows with error ENOENT undefined ls-remote -h -t ssh://git@github.com/web3-js/WebSocket-Node.git

Error when attempting install of OpenZeppelin CLI on Windows.
Reported by a community member via Intercom.

:computer: Environment

Windows 10

:memo:Details

Attempting to install OpenZeppelin CLI on Windows fails with error ENOENT undefined ls-remote -h -t ssh://git@github.com/web3-js/WebSocket-Node.git

> npm i @openzeppelin/cli
npm WARN deprecated truffle-config@1.1.16: WARNING: This package has been renamed to @truffle/config.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/web3-js/WebSocket-Node.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

:1234: Code to reproduce

Install on Windows 10

Git doesn’t appear to be installed.

Follow the Microsoft directions on how to install Git:

OpenZeppelin CLI can then be installed

See the following post for options for running on Windows: