Skip to content

Getting Started

Software size

Pipelight tries to keep it lightweight with a binary that wheights around 13Mb.

Install with Cargo (the Rust package manager)

Cargo build from source
sh
cargo install --git https://github.com/pipelight/pipelight

# Install specific version
cargo install --git https://github.com/pipelight/pipelight --branch master
cargo install --git https://github.com/pipelight/pipelight --tag v0.7.23
cargo install --git https://github.com/pipelight/pipelight

# Install specific version
cargo install --git https://github.com/pipelight/pipelight --branch master
cargo install --git https://github.com/pipelight/pipelight --tag v0.7.23

Install with your distribution package manager

Update: Deprecation of multiple distribution specific.

Multiple distribution package have been abandoned in favor of the cargo install method.

Nixos (with flakes)

Try it in an isolated shell.

nix
nix shell github:pipelight/pipelight
nix shell github:pipelight/pipelight

Install it on your system.

nix
{
  description = "NixOS configuration for crocuda development";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    pipelight.url = "github:pipelight/pipelight";
  };

  outputs = {
    nixpkgs,
    pipelight,
  }: {

    # Put this somewhere in your
    # environment system packages
    # user packages
    # or
    # home manager packages
    pipelight.packages.${system}.default

  };
}
{
  description = "NixOS configuration for crocuda development";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    pipelight.url = "github:pipelight/pipelight";
  };

  outputs = {
    nixpkgs,
    pipelight,
  }: {

    # Put this somewhere in your
    # environment system packages
    # user packages
    # or
    # home manager packages
    pipelight.packages.${system}.default

  };
}

Do not forget to update for newest versions.

sh
nix flake update
nixos-rebuild switch
nix flake update
nixos-rebuild switch

Install with tool version managers (asdf or rtx)

Asdf and Rtx are systems to manage your runtimes and ensure that versions are the same across multiple devices.

asdf
sh
asdf plugin add pipelight https://github.com/kogeletey/asdf-pipelight

# Install specific version
asdf install pipelight latest
asdf plugin add pipelight https://github.com/kogeletey/asdf-pipelight

# Install specific version
asdf install pipelight latest
rtx
sh
rtx plugin add https://github.com/kogeletey/asdf-pipelight

# Install specific version
rtx install pipelight@latest
rtx plugin add https://github.com/kogeletey/asdf-pipelight

# Install specific version
rtx install pipelight@latest

Install from source

Clone the repo. Build binaries. Move binaries to your bin directory.

sh
git clone https://github.com/pipelight/pipelight.git
cd pipelight
cargo build --release
cp target/release/pipelight /usr/bin/
git clone https://github.com/pipelight/pipelight.git
cd pipelight
cargo build --release
cp target/release/pipelight /usr/bin/