From d81c16ed202ea99f155aa6a2bc1ed69e550cd9be Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 11 Feb 2024 16:35:26 +0530 Subject: [PATCH] Include `cargo binstall` docs (#8) --- pages/getting-started/1-installation.mdx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pages/getting-started/1-installation.mdx b/pages/getting-started/1-installation.mdx index 73fc1ad..fd2f183 100644 --- a/pages/getting-started/1-installation.mdx +++ b/pages/getting-started/1-installation.mdx @@ -95,8 +95,9 @@ yay -S [PACKAGE_NAME]
-Building from source +crates.io +### 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.
Once installed, run the following command in your terminal: @@ -104,6 +105,16 @@ your system.
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 +``` + +
## Next Steps