I'm using a Centos 7.1 on Azure. Node.js is not there in default repo for CentOS via yum. But you can get it using EPEL. After you install EPEL you can get nodejs. And don't forget npm!
Flow is not officially supported on Windows. So I'm trying to set it up on my machine. Flow uses OCaml; it is easy to get OCaml on Windows with Cygwin. Even the Cygwin setup has option to select OCaml. First git clone flow from their source: https://github.com/facebook/flow using Failed with error: 'i686-w64-mingw32-gcc' is not recognized … Continue reading (Failed attempt to) Set up Flow (Static typechecker for JS) on Windows 8.1