2023-07-22 13:25:44 +01:00
|
|
|
# Installation
|
|
|
|
|
|
|
|
The preferred way of installing Lune is using [Aftman](https://github.com/lpghatguy/aftman).
|
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
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:
|
2023-07-22 13:25:44 +01:00
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
```sh copy filename="Bash"
|
2023-07-22 13:25:44 +01:00
|
|
|
aftman add filiptibell/lune
|
|
|
|
```
|
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
## Other Installation Options
|
|
|
|
|
|
|
|
<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.
|
|
|
|
|
|
|
|
</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>
|
2023-07-22 13:25:44 +01:00
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
<details>
|
|
|
|
<summary>Building from source</summary>
|
2023-07-22 13:25:44 +01:00
|
|
|
|
|
|
|
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:
|
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
```sh copy filename="Bash"
|
2023-07-22 13:25:44 +01:00
|
|
|
cargo install lune --locked
|
|
|
|
```
|
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
</details>
|
2023-07-22 13:25:44 +01:00
|
|
|
|
2023-07-23 14:51:11 +01:00
|
|
|
## Next Steps
|
2023-07-22 13:25:44 +01:00
|
|
|
|
|
|
|
Congratulations! You've installed Lune and are now ready to write your first script.
|
|
|
|
|
|
|
|
- If you want to write standalone scripts, head over to the
|
2023-07-23 14:45:28 +01:00
|
|
|
[Introduction](./2-introduction/1-hello-lune.md) section.
|
2023-07-22 13:25:44 +01:00
|
|
|
- If you want to write Lune scripts specifically for Roblox, check out the
|
|
|
|
[Roblox](../roblox/1-introduction.md) section.
|