lungo setup makes a machine ready for Lean on its own: when the elan home (ELAN_HOME, else
~/.elan) has no elan, it installs elan 4.2.4 there, from elan’s release, checked against the
SHA-256 this lungo pins, and then the toolchain the project pins with it. Where elan is already
installed, it uses that one and installs nothing. elan is no longer a requirement of lungo.
lungo installs elan without changing shell profiles. lungo setup says where elan, lake and
lean are, for anyone who wants them on PATH.
lungo runs elan from the elan home, never from PATH: a machine whose elan is not on the
PATH of the shell that runs lungo works as one whose elan is.
A new error, LNG0113 (elan unavailable): a build asked to install a toolchain, in an elan
home without elan, names the home and the elan it lacks; a failed installation says which elan
release it tried, from where, into which home, and why it failed.