Add windows instructions to fix node-gyp installs

Change-Type: patch
This commit is contained in:
Tim Perry 2017-09-22 16:27:24 +03:00 committed by GitHub
parent 55a7dccc74
commit ef6e00bcea

View File

@ -19,6 +19,8 @@ Requisites
##### Windows Support
Before installing resin-cli, you'll need a working node-gyp environment. If you don't already have one you'll see native module build errors during installation. To fix this, run `npm install -g --production windows-build-tools` in an admin console.
`resin sync` and `resin ssh` have not been thoroughly tested on the standard Windows cmd.exe shell. We recommend using bash (or a similar) shell, like Bash for Windows 10 or [Git for Windows](https://git-for-windows.github.io/).
If you still want to use `cmd.exe` you will have to use a package manager like MinGW or chocolatey. For MinGW the steps are: