1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 12:22:10 +02:00
tldr/pages/common/opam.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

37 lines
554 B
Markdown

# 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 help:
`opam help`