opam
OCaml Package Manager. Manage OCaml compilers, tools and libraries. More information: https://opam.ocaml.org/.
-
Initialize opam for first use:
opam init
-
Search for packages:
opam search {{query}}
-
Install a package and all of its dependencies:
opam install {{package}}
-
Display detailed information about a package:
opam show {{package}}
-
List all installed packages:
opam list
-
Update the local package database:
opam update
-
Upgrade all installed packages:
opam upgrade
-
Display all commands:
opam help
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.