-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
forge18 edited this page Dec 7, 2025
·
1 revision
- Lua 5.1, 5.3, or 5.4 installed
Download the latest release for your platform from GitHub Releases:
curl -L https://github.com/yourusername/lpm/releases/latest/download/lpm-aarch64-apple-darwin.tar.gz | tar xz
sudo mv lpm /usr/local/bin/curl -L https://github.com/yourusername/lpm/releases/latest/download/lpm-x86_64-apple-darwin.tar.gz | tar xz
sudo mv lpm /usr/local/bin/curl -L https://github.com/yourusername/lpm/releases/latest/download/lpm-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv lpm /usr/local/bin/curl -L https://github.com/yourusername/lpm/releases/latest/download/lpm-aarch64-unknown-linux-gnu.tar.gz | tar xz
sudo mv lpm /usr/local/bin/- Download
lpm-x86_64-pc-windows-msvc.zipfrom GitHub Releases - Extract the zip file
- Add the directory containing
lpm.exeto your PATH
If you have Rust installed (rustup.rs):
# Clone the repository
git clone https://github.com/yourusername/lpm.git
cd lpm
# Build the release executable
cargo build --release
# The executable will be at: target/release/lpm (or target/release/lpm.exe on Windows)
# Copy it wherever you want:
cp target/release/lpm /usr/local/bin/lpm # Unix/macOS
# Or on Windows, add target/release/ to your PATH# Install from crates.io (when published)
cargo install lpm
# Or install from local source
cargo install --path .After installation, ensure lpm is in your PATH:
Run the setup command:
lpm setup-pathOr manually add to your shell profile (~/.bashrc, ~/.zshrc, etc.):
export PATH="$HOME/.cargo/bin:$PATH"Add %USERPROFILE%\.cargo\bin to your PATH:
- Open System Properties → Environment Variables
- Add
%USERPROFILE%\.cargo\binto your User PATH - Or run in PowerShell (as Administrator):
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";%USERPROFILE%\.cargo\bin", "User")Check that LPM is installed correctly:
lpm --versionYou should see the version number. If you get a "command not found" error, make sure:
- LPM is installed
- The installation directory is in your PATH
- You've restarted your terminal (or reloaded your shell profile)