From 20e6b447b2ca47389f81d0349fb130c51441a699 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Fri, 20 May 2022 12:12:59 +0100 Subject: [PATCH] Add installation instructions using nix (#1272) [skip ci] --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index e479d078..6705a9d7 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,22 @@ Upgrade: brew upgrade babashka +### Nix + +Linux and macOS (including ARM Macs) binaries are provided via nix (see the installation instructions for nix [here](https://nixos.org/download.html)). + +Install: + + # Adding `nixpkgs-unstable` channel for more up-to-date binaries, skip this if you already have `nixpkgs-unstable` in your channel list + nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable + nix-channel --update + nix-env -iA nixpkgs-unstable.babashka + +Upgrade: + + nix-channel --update + nix-env -iA nixpkgs-unstable.babashka + ### Arch (Linux) `babashka` is [available](https://aur.archlinux.org/packages/babashka-bin/) in the [Arch User Repository](https://aur.archlinux.org). It can be installed using your favorite [AUR](https://aur.archlinux.org) helper such as