From 96ebea55e3a8ac450aa581bccc75da3e1e526add Mon Sep 17 00:00:00 2001 From: louib Date: Sun, 13 Aug 2023 20:24:46 -0400 Subject: [PATCH] docs: add install instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 0ece6a2..11926dc 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,16 @@ [![License file](https://img.shields.io/github/license/louib/nix2sbom)](https://github.com/louib/nix2sbom/blob/main/LICENSE) nix2sbom extracts the SBOM (Software Bill of Materials) from a Nix derivation + +## Installing + +### With Nix +Assuming that you have enabled both the `flakes` and `nix-command` experimental features: +``` +nix profile install github:louib/nix2sbom +``` + +### With Cargo +``` +cargo install --path . +```