mirror of
https://github.com/lune-org/docs.git
synced 2025-04-03 18:10:54 +01:00
Update installation page with more installation methods
This commit is contained in:
parent
c611bb3274
commit
bc252b6af0
1 changed files with 39 additions and 21 deletions
|
@ -1,39 +1,57 @@
|
|||
<!-- markdownlint-disable MD033 -->
|
||||
|
||||
# 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. <br /> 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
|
||||
<details>
|
||||
<summary>Using GitHub Releases</summary>
|
||||
|
||||
You can download pre-built binaries for most systems directly from the
|
||||
[GitHub Releases](https://github.com/filiptibell/lune/releases) page. <br /> 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
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Community-maintained</summary>
|
||||
|
||||
### ArchLinux User Repository
|
||||
|
||||
```sh copy filename="Bash"
|
||||
paru -S lune
|
||||
```
|
||||
|
||||
***or***
|
||||
|
||||
```sh copy filename="Bash"
|
||||
yay -S lune
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Building from source</summary>
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## Next Steps
|
||||
|
||||
Congratulations! You've installed Lune and are now ready to write your first script.
|
||||
|
Loading…
Add table
Reference in a new issue