leanprover / leanprover/lean4

feature request: `lake install`

Open
#3,423 7 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Lake P-medium RFC
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Many Lean projects are development tools, and should not need to be upstream dependencies in order to use them in a project. Instead we need a lake install command, that registers a program as installed, and then provides a cache of binaries for that program, automatically building on requested toolchains as needed.

There are many projects that would make good use of this. shake, graph, and LeanCopilot being the more obvious ones.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First define how lake install should register programs, cache binaries, and select or build for requested toolchains; it is done when those behaviors are specified and covered for projects such as shake, graph, and LeanCopilot.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.