From f1c54a322df42e56f3baaa28ddd5bcd320a2bf07 Mon Sep 17 00:00:00 2001 From: jgart <47760695+jgarte@users.noreply.github.com> Date: Thu, 15 Dec 2022 07:55:32 -0600 Subject: [PATCH] Add Guix install and usage instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6f3e4a913..98fd01f29 100644 --- a/README.md +++ b/README.md @@ -221,6 +221,16 @@ Using the [nix package manager](https://nixos.org/nix): nix-env -iA nixpkgs.shellcheck ``` +Using [Guix](https://guix.gnu.org/) to install shellcheck to you default profile: +```sh +guix install shellcheck +``` + +Alternatively using [guix shell](https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-shell.html) to create a temporary environment, you can check a file with the following command, for example: +```sh +guix shell shellcheck -- shellcheck foo.sh +``` + Alternatively, you can download pre-compiled binaries for the latest release here: * [Linux, x86_64](https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz) (statically linked)