Skip to content

Commit 33645cb

Browse files
committed
Update the installation instructions
1 parent 70c00e6 commit 33645cb

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

+18-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<div align="center">
22
<a href="https://lunatic.solutions/" target="_blank">
3-
<img width="60" src="https://raw.githubusercontent.com/lunatic-solutions/lunatic/main/assets/logo.svg" alt="Lunatic logo">
3+
<img width="60"
4+
src="https://raw.githubusercontent.com/lunatic-solutions/lunatic/main/assets/logo.svg"
5+
alt="lunatic logo"
6+
>
47
</a>
58
<p>&nbsp;</p>
69
</div>
@@ -30,11 +33,15 @@ If you would like to see other languages supported or just follow the discussion
3033

3134
## Installation
3235

33-
We provide pre-built binaries for **Windows**, **Linux** and **macOS** on the [releases page][5].
36+
If you have rust (cargo) installed, you can build and install the lunatic runtime with:
37+
38+
```bash
39+
cargo install lunatic-runtime
40+
```
3441

3542
---
3643

37-
On **macOS** you can also use [Hombrew][6]:
44+
On **macOS** you can use [Hombrew][6] too:
3845

3946
```bash
4047
brew tap lunatic-solutions/lunatic
@@ -43,16 +50,20 @@ brew install lunatic
4350

4451
---
4552

46-
To build the project from source you will need to have [rustup][7] installed:
53+
We also provide pre-built binaries for **Windows**, **Linux** and **macOS** on the
54+
[releases page][5], that you can include in your `PATH`.
55+
56+
---
57+
58+
And as always, you can also clone this repository and build it locally. The only dependency is
59+
[a rust compiler][7]:
4760

4861
```bash
49-
# Add wasm32 compilation target
50-
rustup target add wasm32-unknown-unknown
5162
# Clone the repository
5263
git clone https://github.com/lunatic-solutions/lunatic.git
5364
# Jump into the cloned folder
5465
cd lunatic
55-
# Build and install Lunatic
66+
# Build and install lunatic
5667
cargo install --path .
5768
```
5869

0 commit comments

Comments
 (0)