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

**URL:** <https://forum.openzeppelin.com/t/npm-i-openzeppelin-cli-fails-on-windows-with-error-enoent-undefined-ls-remote-h-t-ssh-git-github-com-web3-js-websocket-node-git/2121>\
**Category:** SDK\
**Created:** [January 19, 2020, 10:54pm UTC](https://forum.openzeppelin.com/t/npm-i-openzeppelin-cli-fails-on-windows-with-error-enoent-undefined-ls-remote-h-t-ssh-git-github-com-web3-js-websocket-node-git/2121 "2020-01-19T22:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [January 19, 2020, 10:54pm UTC](https://forum.openzeppelin.com/t/npm-i-openzeppelin-cli-fails-on-windows-with-error-enoent-undefined-ls-remote-h-t-ssh-git-github-com-web3-js-websocket-node-git/2121/1 "2020-01-19T22:54:20Z")

</div>

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

**💻 Environment**

Windows 10

**📝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`

```auto
> 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

```

**🔢 Code to reproduce**

Install on Windows 10

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [January 19, 2020, 11:24pm UTC](https://forum.openzeppelin.com/t/npm-i-openzeppelin-cli-fails-on-windows-with-error-enoent-undefined-ls-remote-h-t-ssh-git-github-com-web3-js-websocket-node-git/2121/2 "2020-01-19T23:24:04Z")

</div>

Git doesn’t appear to be installed.

Follow the Microsoft directions on how to install Git:

> **[Set up NodeJS on native Windows](https://docs.microsoft.com/en-us/windows/nodejs/setup-on-windows#install-git-optional)**
>
> A guide to help you get your Node.js development environment set up directly on Windows.

OpenZeppelin CLI can then be installed

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [January 22, 2020, 6:14am UTC](https://forum.openzeppelin.com/t/npm-i-openzeppelin-cli-fails-on-windows-with-error-enoent-undefined-ls-remote-h-t-ssh-git-github-com-web3-js-websocket-node-git/2121/3 "2020-01-22T06:14:53Z")

</div>

See the following post for options for running on Windows:

> [@Solidity Smart Contract development on Windows](https://forum.openzeppelin.com/t/solidity-smart-contract-development-on-windows/2110):
>
> There are two main options to setup our environment for Solidity Smart Contract development on Windows. The Microsoft recommendation is to use Windows Subsystem for Linux. [https://docs.microsoft.com/en-us/windows/nodejs/setup-on-windows#use-windows-subsystem-for-linux-for-production](https://docs.microsoft.com/en-us/windows/nodejs/setup-on-windows#use-windows-subsystem-for-linux-for-production) Many Node.js packages and frameworks are created with a \*nix environment in mind and most Node.js apps are deployed on Linux, so developing on WSL ensures consistency between your development and production envir…
