Download and install version 4.01 for windows: http://www.ocamlpro.com/pub/ocpwin/ocpwin-builds/ocpwin64/20160113/ocpwin64-20160113-4.01.0+ocp1-full-mingw64.exe
# pull the latest version of flow - working with 0.27
git clone https://github.com/facebook/flow
# build flow
cd flow
make
# copy the built executable to your node path
# for me it is c:\Users\<my_user>\AppData\Roaming\npm\
cp bin/flow.exe <_NODE_PATH_>
Available here: http://bit.ly/watchmanwinalpha, you can find the link here if you have trust issues: facebook/watchman#19
Copy watchman.exe
to your node path, usually c:\Users\<my_user>\AppData\Roaming\npm\
which
doesn't seem to work on Windows, but you can use where
:
Go to your atom packages folder, for me it was: c:\Users\<my_user>\.atom\packages\nuclide\pkg\nuclide-flow-base\lib\
Edit FlowHelpers.js
:
// in `canFindFlow`
// replace
...('which', [flowPath]);
// with
...('where', [flowPath]);
In System Environment Variables
change Path
to PATH
.. case seems to matter.
Latest Flow has fixed FlowHelper.js with a windows conditional. So this step is no longer needed.