Skip to main content

Installation

Due to the fact that we have no stable release yet, you must install the project through cargo. We recommend installing through cargo binstall for fastest install times:

cargo binstall lux-cli --locked

If you don't have cargo binstall installed, you can install Lux normally with:

cargo install lux-cli --locked
For new cargo users

Make sure that ~/.cargo/bin/ is part of your shell's $PATH!

export PATH="$HOME/.cargo/bin:$PATH"

Checking Installation

Ensure that installation was successful by running lx help. You should see output similar to the following:

A fast and efficient Lua package manager

Usage: lx [OPTIONS] <COMMAND>

...

If you do, you're now ready to move on to the next section!