Skip to main content

Installation

In this chapter, we'll get Lux installed and verify that it works. By the end, we'll have the lx command ready to use.

Downloading Lux

We'll download a pre-built binary from the releases page. Pick your platform below and follow the steps.

Download the AppImage for your architecture:

  • x86_64: lx_<version>_x86_64.AppImage
  • aarch64: lx_<version>_aarch64.AppImage

Make it executable and place it on your PATH:

chmod u+x lx_<version>_x86_64.AppImage
mv lx_<version>_x86_64.AppImage ~/.local/bin/lx
tip

If you prefer to use your system's package manager, check the installation how-to guide for platform-specific instructions.

Verifying it works

Let's check that everything is set up correctly:

lx help

You should see something like:

A fast and efficient Lua package manager

Usage: lx [OPTIONS] <COMMAND>

...

If you see the help output, Lux is ready. We'll use it in the next chapter to scaffold our project.