lpkg/README.md
2025-09-30 22:10:02 +02:00

1.6 KiB
Raw Blame History

🧬 LPKG Lightweight Package Manager

LPKG is a minimalistic package manager written in Rust, designed for fast and simple software management on Unix-like systems. It emphasizes reproducibility and declarative configuration, leveraging Nix Flakes for development and deployment.


🚀 Features

  • Fast & Lightweight Minimal resource usage and quick operations.
  • Rust-Powered Safe and concurrent code with Rust.
  • Cross-Platform Works on Linux and macOS.
  • Declarative Builds Fully reproducible with Nix Flakes.
  • Simple CLI Intuitive commands for managing packages.

⚙️ Installation

Using Cargo

cargo install lpkg

Using Nix Flakes

If you have Nix with flakes enabled:

nix profile install github:lesbiannix/lpkg

Or to run without installing:

nix run github:lesbiannix/lpkg

🧰 Usage

Basic command structure:

lpkg [command] [package]

Common commands:

  • install Install a package
  • remove Remove a package
  • update Update the package list
  • upgrade Upgrade all installed packages

For detailed usage:

lpkg --help

🔧 Development with Flakes

Clone the repository:

git clone https://github.com/lesbiannix/lpkg.git
cd lpkg

Enter the flake development shell:

nix develop

Build the project:

cargo build

Run tests:

cargo test

You can also run the project directly in the flake shell:

nix run

📄 License

LPKG is licensed under the MIT License.