From bc252b6af0608689a57ec448e82207aaa78526b5 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 23 Jul 2023 15:51:11 +0200 Subject: [PATCH] Update installation page with more installation methods --- .../{1-installation.md => 1-installation.mdx} | 60 ++++++++++++------- 1 file changed, 39 insertions(+), 21 deletions(-) rename pages/getting-started/{1-installation.md => 1-installation.mdx} (65%) diff --git a/pages/getting-started/1-installation.md b/pages/getting-started/1-installation.mdx similarity index 65% rename from pages/getting-started/1-installation.md rename to pages/getting-started/1-installation.mdx index eacdb2d..e726547 100644 --- a/pages/getting-started/1-installation.md +++ b/pages/getting-started/1-installation.mdx @@ -1,39 +1,57 @@ - - # Installation The preferred way of installing Lune is using [Aftman](https://github.com/lpghatguy/aftman). -Running this command in your terminal will add `lune` to an `aftman.toml` file in the current -directory, or create one if it does not exist: +Install Aftman, and run this command in your terminal to add `lune` to an `aftman.toml` file in the +current directory, or create one if it does not exist: -```sh copy +```sh copy filename="Bash" aftman add filiptibell/lune ``` -## Other options +## Other Installation Options -### 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: - -```sh copy -cargo install lune --locked -``` - -Note that Lune does not make any minimum supported rust version (MSRV) guarantees and you may need -to upgrade your version of Rust to update Lune in the future. - -### Using GitHub Releases +
+Using GitHub Releases You can download pre-built binaries for most systems directly from the [GitHub Releases](https://github.com/filiptibell/lune/releases) page.
There are many tools that can install binaries directly from releases, and it is up to you to choose what tool to use when installing here. -## Next steps +
+ +
+Community-maintained + +### ArchLinux User Repository + +```sh copy filename="Bash" +paru -S lune +``` + +***or*** + +```sh copy filename="Bash" +yay -S lune +``` + +
+ +
+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: + +```sh copy filename="Bash" +cargo install lune --locked +``` + +
+ +## Next Steps Congratulations! You've installed Lune and are now ready to write your first script.