Running elm-install on cygwin produces errors:
$ pwd
/cygdrive/c/work/project/
$ elm-install
error: git clone "--" "https://github.com/NoRedInk/elm-decode-pipeline" "C:/work/ext/cygwin/home/user/.elm-install/github.com/NoRedInk/elm-decode-pipeline" 2>&1:fatal: Invalid path '/cygdrive/c/work/project/C:/work': No such file or directory. Use --trace to view backtrace
Resolving packages...
▶ Package: https://github.com/NoRedInk/elm-decode-pipeline not found in cache, cloning...
I've debugged further and it turns out that path here is receiving a path with the windows volume:
C:/work/ext/cygwin/home/user/.elm-install/github.com/NoRedInk/elm-decode-pipeline
The problem with this is that when passed to git, git interprets C:/..... as a path relative to pwd, hence we see the invalid path /cygdrive/c/work/project/C:/work in the error above.
After monkey patching the paths to have a proper absolute Unix path, we get more errors:
C:/work/ext/cygwin/home/user/elm-install-1.4.0-win32/lib/ruby/lib/ruby/2.2.0/fileutils.rb:252:in `mkdir': Invalid argument @ dir_s_mkdir - /work/ext/cygwin/home/user/.elm-install/github.com/elm-lang/core (Errno::EINVAL)
Afraid I've hit a wall here as I'm not a ruby expert.