How to install Watchman on Windows (win10)?

pto3 picture pto3 · Jul 19, 2016 · Viewed 34k times · Source

I am trying to install Watchman to my computer for npm for React Native. I opened the docs http://facebook.github.io/watchman/docs/install.html and can't understand how it should be done.

Could you please explain me more detailed?

Answer

Andrey Patseiko picture Andrey Patseiko · Mar 23, 2019
  1. Load watchman archive by this instruction https://facebook.github.io/watchman/docs/install#binary-downloads-for-linux-macos-and-windows-beta
  2. Create folder watchman in c:\Users\USERNAME\AppData\Local
  3. Extract watchman archive to watchman folder. You must get c:\Users\USERNAME\AppData\Local\watchman\watchman.exe
  4. Open path environment in
    • click on luppa (find) and insert settings: Edit the system environment variables -> Environment variables
    • OR System -> System Info -> Advance system settings -> Advance (tab) -> Environment variables
  5. Set add to enviroment path c:\Users\USERNAME\AppData\Local\watchman
  6. Re login in you system or reboot PC
  7. Open terminal and run command watchman -v and you must see version