From 16317e643a5618589ca4dc5919b8384f37d66f7e Mon Sep 17 00:00:00 2001 From: Komo <71205197+mbekkomo@users.noreply.github.com> Date: Sun, 17 Nov 2024 00:59:14 +0800 Subject: [PATCH] Add installation reference for Nix/NixOS (closes #52) --- docs/Getting Started.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/Getting Started.md b/docs/Getting Started.md index 3fceb9359..74dce4654 100644 --- a/docs/Getting Started.md +++ b/docs/Getting Started.md @@ -46,9 +46,24 @@ Pluto is in the Arch User Repository under the name `plutolang`. This package includes the `pluto` and `plutoc` executables, shared library, as well as headers for developers (`#include `). ### Termux - Pluto is available in the Termux package main repository under `plutolang` for binaries and `libpluto` for development library. +### Nix/NixOS + +:::info +This package is maintained by a member of our community. +::: + +Pluto is available in the [NUR](https://github.com/nix-community/NUR) repository. You can try it by following the installation step, and then test it by running: +``` +$ nix-shell -p nur.repos.mbekkomo.plutolang --command pluto +``` + +Optionally, if you want to install the packages without building it first, you can register a [Cachix](https://cachix.org) store to skip it. +``` +$ cachix use mbekkomo +``` + ## Compile Pluto Yourself Pluto can compile on virtually any platform, as long as there's a C++ 17 compiler for it.