Skip to content

Commit

Permalink
Include cargo binstall docs (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev authored Feb 11, 2024
1 parent 2b5f018 commit d81c16e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pages/getting-started/1-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,26 @@ yay -S [PACKAGE_NAME]
</details>

<details>
<summary>Building from source</summary>
<summary>crates.io</summary>

### Building from source
Building and installing from source requires the latest version of
[Rust & Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) to be installed on
your system. <br /> Once installed, run the following command in your terminal:

```sh copy filename="Bash"
cargo install lune --locked
```
### Binstall
[`cargo binstall`](https://github.com/cargo-bins/cargo-binstall) provides a simple mechanism for installing rust binaries from crates.io, without
compiling from source unlike `cargo install`. Lune is packaged in a `binstall` compatible way.

With `binstall` installed and in your path, run:
```sh copy filename="Bash"
cargo binstall lune
```


</details>

## Next Steps
Expand Down

0 comments on commit d81c16e

Please sign in to comment.