Installation
Lake ships as three components, all managed by lakeup — the
toolchain installer (think rustup for Lake):
| component | what it is |
|---|---|
lakec | the compiler (Lake → native ELF) |
house | the project & package manager |
std | the standard library |
§One-line install
curl -fsSL https://lake-lang.com/install.sh | sh
This fetches lakeup, then installs the latest stable lakec, house
and std into ~/.lake:
~/.lake/
├── bin/{lakec, house, lakeup} active toolchain (on your PATH)
├── lib/std active standard library
└── versions/… every installed version
Add ~/.lake/bin to your PATH (the installer offers to do this).
§Updating
lakeup update # re-fetch the latest of every component
lakeup install lakec # or pin/refresh a single component
Each component is pulled from its GitHub release, so lakeup update
always lands you on the newest published lakec / house / std.
§Verifying
lakec --version
house --version
§Your first build
house new hello # scaffold a project
cd hello
house run # build with lakec + run the binary
house run resolves dependencies, invokes lakec on the project entry
point, and executes the produced native binary. Continue with
Getting started.
§Building from source (optional)
Everything is open source under github.com/morphqdd. The compiler is
Rust; the standard library, house and the package ecosystem are
written in Lake itself.
git clone https://github.com/morphqdd/lake-native-compiler
cd lake-native-compiler
cargo build --release --bin lakec # → target/release/lakec