Installing utop on a MacBook Air

Hi, everyone,

OCaml is new to me, so I hope you’ll help me become an expert in it.

Meanwhile, something strange went wrong when I tried to install utop. After that program ran once, the computer complained that it couldn’t find it. So, please link a reply to the instructions to follow to install utop.

What text editor(s) do you use when you write OCaml programs?

Thanks. I’ll be great to “talk” with you.

Hi and welcome!

It’s a bit complicated to provide a meaningful help without more details. I assume you’ve seen and followed the getting started instruction at Installing OCaml · OCaml Documentation?

For the text editors, the docs have details instructions for Configuring Your Editor · OCaml Documentation but anything with a good LSP support should work well. (I’m on neovim, and OCaml support is top notch.)

Have fun on your OCaml journey!

1 Like

I bet you forgot about eval $(opam env)

No. I forgot to tell my computer to modify my .zshrc.

Hi and thank you.

As I told another forum member, I solved the problem when I told my computer to revise my .zshrc. Though I thought the change would solve the problem, I hesitated to change that file because the installer assumed that I wouldn’t revise the .zshrc.