OCaml
68 words
One minute
Opam
- Opam is the package manager for the OCaml programming language
Install
1
2
3
4
5
6
7
| yay -S opam
# or
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
# then
opam init
eval $(opam env)
|
Opam Switch
1
2
3
| opam switch list-available ocaml-base-compiler
opam switch create 4.14.0
eval $(opam env)
|
Opam Install
Dependencies
1
| opam install . --deps-only
|