Home : File Types : CMI File

.CMI File Extension

File TypeCompiled OCaml Interface

2.0 (1 Vote)
CategoryDeveloper Files

What is a CMI file?

A CMI file is a compiled OCaml interface file. It contains data type and variable definitions used by an application developed in OCaml. CMI files are created by compiling OCaml .ML or MLI files.

More Information

Objective Caml (OCaml) is an ML-based programming language that is used primarily to create symbolic computation applications and teach programming. To begin building (i.e. creating an executable file for) an application they developed using OCaml, a developer must first compile the application's ML and MLI files. When the developer compiles their ML or MLI file, OCaml produces a CMI file.

The CMI file contains a compiled definition of the data types and variables included within the developer's application. Along with the CMO files created during the compilation process, the CMI file is used to continue constructing the application's executable file.

How do I open a CMI file?

CMI files are not meant to be opened. Developers use CMI files to build (create executable files for) OCaml applications.

Open over 400 file formats with File Viewer Plus.

Programs that open CMI files

Updated 10/22/2020

About CMI Files

Our goal is to help you understand what a file with a *.cmi suffix is and how to open it.

The Compiled OCaml Interface file type, file format description, and Mac, Windows, and Linux programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.