Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Previous OCaml release

The previous version of OCaml is 4.03.0. It was released on 2016-05-25.

What's new?

Some of the highlights in release 4.03 are:

For more information, please consult the comprehensive list of changes.


Source distribution

  • Source tarball (.tar.gz) for compilation under Unix (including Linux and MacOS X) and Microsoft Windows (including Cygwin).
  • Also available in .tar.xz format.
  • GODI and OPAM are source-based distributions of OCaml and many companion libraries and tools. Compilation and installation are automated by powerful package managers.

The INSTALL file of the distribution provides detailed compilation and installation instruction.

Precompiled binaries for Linux

Precompiled binaries for MacOS X

We do not distribute binaries for MacOS any more. Mac OS is fully supported by the OPAM package manager.

Precompiled binaries for Microsoft Windows

Four ports of OCaml for Microsoft Windows are currently available. For additional information, please consult the list of portability issues or the Windows release notes.

  • Cygwin-based native Win32 port (4.02.3). A self installer. The interactive loop comes with a simple graphical user interface. Some features require the Cygwin environment, which the installer can fetch for you. However, the compilers are, and generate true Win32 executables, which do not require Cygwin to run.
  • Microsoft-based native Win32 port. No binary distribution available yet; download the source distribution and compile it.
  • Cygwin-based port. Requires Cygwin. No graphical user interface is provided. The compilers generate executables that do require Cygwin. The precompiled binaries are part of the Cygwin distribution; you can install them using the Cygwin setup tool. Alternatively, download the source distribution and compile it under Cygwin.
  • Microsoft-based native Win64 port Same features as the Microsoft-based native Win32 port, but generates 64-bit code. No binary distribution available yet; download the source distribution and compile it.

User's manual

The user's manual for OCaml can be:


Ocaml is Free Software, copyright INRIA, licensed under the LGPL version 2.1 (with a special exception on static linking). See the full licence. Members of the Caml Consortium benefit from a more liberal license (BSD-like).

Other versions

Many previous releases are still available.

You also have read-only Git access to the working sources and to all previous public releases. See: ocaml/ocaml on Github