leanprover / elan

The Lean version manager
Apache License 2.0
292 stars 34 forks source link

Support for offline installation of elan and different lean versions #125

Closed ziyuwan closed 5 months ago

ziyuwan commented 5 months ago

Hi~ I'm trying to install elan and some required versions of lean package on a machine that do not have access to the Internet.

So I would appreciate it if there were some ways to install elan offline.

For example, I'd like to know whether just copying the ~/.elan to the target machine can solve this problem.

Could you please give me any instructions?

Kha commented 5 months ago

For example, I'd like to know whether just copying the ~/.elan to the target machine can solve this problem.

Yes, that should work. Depending on your needs, it might also be easier to just deploy and use Lean without elan.

ziyuwan commented 5 months ago

Thanks for your reply. I will close this issue currently.