Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 508 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 508 Bytes

ocaml-windows-bootstrap

From a powershell, run


set-executionpolicy remotesigned
.\bootstrap.ps1

This installs cygwin and the required cygwin packages. Then, from a cygwin terminal, execute provision.sh. This should install ocaml and all the opam dependencies (similar to make lib-ext). The whole process takes around 15 minutes on a VM.

From a powershell again,

$env:Path = $env:Path + ";C:\ocaml\bin;C:\cygwin\bin"
$env:HOME = "C:\Users\USER"

Then, opam.exe init should work.