1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-06 19:33:34 +02:00
tldr/pages/common/opam.md
Managor 99c7af4917
*: use a more specific more info link, org domain (#17699)
Mass update for more specific "more info" links
2025-08-16 11:12:49 -07:00

37 lines
568 B
Markdown

# opam
> OCaml Package Manager.
> Manage OCaml compilers, tools and libraries.
> More information: <https://opam.ocaml.org/doc/Usage.html>.
- 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 help:
`opam help`