diff --git a/bin/omarchy-install-dev-env b/bin/omarchy-install-dev-env index ace45ce6..f084ac02 100755 --- a/bin/omarchy-install-dev-env +++ b/bin/omarchy-install-dev-env @@ -1,7 +1,7 @@ #!/bin/bash if [[ -z "$1" ]]; then - echo "Usage: omarchy-instal-dev-env " >&2 + echo "Usage: omarchy-instal-dev-env " >&2 exit 1 fi @@ -48,4 +48,11 @@ java) echo -e "Installing Java...\n" mise use --global java@latest ;; +ocaml) + echo -e "Installing OCaml...\n" + bash -c "$(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)" + opam init --yes + eval "$(opam env)" + opam install ocaml-lsp-server odoc ocamlformat utop --yes + ;; esac