Basic OS interaction for OCaml
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Build depend on topkg. May 22, 2016
.merlin Tests: track latest mtime. May 4, 2017
.ocp-indent Move Bos.Prelude.String to Bos.String. Mar 7, 2015
_tags Tests: track latest mtime. May 4, 2017

Bos — Basic OS interaction for OCaml


Bos provides support for basic and robust interaction with the operating system in OCaml. It has functions to access the process environment, parse command line arguments, interact with the file system and run command line programs.

Bos works equally well on POSIX and Windows operating systems.

Bos depends on Rresult, Astring, Fmt, Fpath and Logs and the OCaml Unix library. It is distributed under the ISC license.

Home page:
Contact: Daniel Bünzli <daniel.buenzl>


Bos can be installed with opam:

opam install bos

If you don't use opam consult the opam file for build instructions.


The documentation and API reference is automatically generated by from the interfaces. It can be consulted online or via odig doc bos.