Skip to content

Commit d81c16e

Browse files
authored
Include cargo binstall docs (#8)
1 parent 2b5f018 commit d81c16e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pages/getting-started/1-installation.mdx

+12-1
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,26 @@ yay -S [PACKAGE_NAME]
9595
</details>
9696

9797
<details>
98-
<summary>Building from source</summary>
98+
<summary>crates.io</summary>
9999

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

104105
```sh copy filename="Bash"
105106
cargo install lune --locked
106107
```
108+
### Binstall
109+
[`cargo binstall`](https://github.com/cargo-bins/cargo-binstall) provides a simple mechanism for installing rust binaries from crates.io, without
110+
compiling from source unlike `cargo install`. Lune is packaged in a `binstall` compatible way.
111+
112+
With `binstall` installed and in your path, run:
113+
```sh copy filename="Bash"
114+
cargo binstall lune
115+
```
116+
117+
107118
</details>
108119

109120
## Next Steps

0 commit comments

Comments
 (0)