Zulip Chat Archive

Stream: new members

Topic: getting lean terminal commands on path (macos)


Homer White (Jun 21 2023 at 17:49):

Hello, new member here, working with MacOS. I installed Lean through VSCode as per the manual, and I can use it fine within VSCode. However I now find that I need to run a lake update, but the lake command (and presumably other lean temrinal comands) are not on my path. The manual said to follow directions given at the end of installation to be able to access commands through the terminal, but I did not see any such directions during the installation process. Deos anyone know where the lean commands are stored on MacOS, or point me to the missing instructions? Thanks in advance.

Matthew Ballard (Jun 21 2023 at 17:57):

I am guessing ~/.elan/bin/ but you probably just need to source a bash/zsh file.

Homer White (Jun 22 2023 at 10:48):

Matthew Ballard said:

I am guessing ~/.elan/bin/ but you probably just need to source a bash/zsh file.

Thanks, @Matthew Ballard , that was it!


Last updated: Dec 20 2023 at 11:08 UTC