Installation
Norgolith can be installed in multiple ways depending on your environment and preferences. Below are the recommended methods:
ImportantThe Norgolith binary is called
lith
and notnorgolith
, this is for ergonomic reasons.
Binary Installation
via Releases
For stable releases, statically compiled binaries with musl are provided in the releases section. There are binaries for Linux and macOS (x86_64
and arm64
). Windows is currently unsupported by Norgolith.
The release tarballs contains the following files:
lith
LICENSE
README.md
via Cargo
You can also install Norgolith using cargo
, however this might add an additional step which is compiling the source code. Prefer this way if you want to use a development version.
Prerequisites:
- Rust toolchain (
rustup
installed)
- Rust version
>= 1.77
# Install from the repository
cargo install --git https://github.com/NTBBloodbath/norgolith --locked
# Verify the installation
lith --version
Nix Flake
You can add Norgolith to your NixOS configuration with Nix flakes.
Prerequisites:
NixOS
or a Linux/macOS system with Nix installed.
Nix
with flakes enabled.
Add Norgolith to your system packages:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
norgolith.url = "github:NTBBloodbath/norgolith";
};
outputs = { nixpkgs, norgolith, ... }: {
nixosConfigurations.mysystem = nixpkgs.lib.nixosSystem {
modules = [
{
# add norgolith as a package
environment.systemPackages = [
norgolith.packages.x86_64-linux.default
];
}
];
};
};
}
Special thanks to @Ladas552 for providing this example flake!