lune/docs/pages/Getting Started - 1 Installation.md
2023-02-23 18:43:18 +01:00

1.3 KiB

⚙️ Installation

The preferred way of installing Lune is using 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:

aftman add filiptibell/lune

Other options

Building from source

Building and installing from source requires the latest version of Rust & Cargo to be installed on your system.
Once installed, run the following command in your terminal:

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

You can download pre-built binaries for most systems directly from the GitHub Releases page.
There are many tools that can install directly from releases, and it is up to you to choose what tool to use when installing using this method.

Next steps

Now that you've installed Lune, head over to the Writing Scripts page to write your first script!