opam

OCaml Package Manager.

TLDR

Initialize opam for first use

$ opam init
copy

Search for packages

$ opam search [package_name]
copy

Install a package and all of its dependencies

$ opam install [package_name]
copy

Display detailed information about a package

$ opam show [package_name]
copy

List all installed packages

$ opam list
copy

Update the local package database

$ opam update
copy

Upgrade all installed packages

$ opam upgrade
copy

Display all commands

$ opam help
copy

Copied to clipboard
Dodo Farming