-
-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
Norgolith can be installed in multiple ways depending on your environment and preferences. Below are the recommended methods:
Important
The Norgolith binary is called lith and not norgolith, this is for ergonomic reasons.
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:
lithLICENSEREADME.md
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 (
rustupinstalled) - Rust version
>= 1.77
# Install from the repository
cargo install --git https://github.com/NTBBloodbath/norgolith --locked
# Verify the installation
lith --versionYou can add Norgolith to your NixOS configuration with Nix flakes.
Prerequisites:
-
NixOSor a Linux/macOS system with Nix installed. -
Nixwith 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