Skip to content

Commit 16317e6

Browse files
0komoSainan
authored andcommitted
Add installation reference for Nix/NixOS (closes #52)
1 parent e6d24d4 commit 16317e6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/Getting Started.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,24 @@ Pluto is in the Arch User Repository under the name `plutolang`.
4646
This package includes the `pluto` and `plutoc` executables, shared library, as well as headers for developers (`#include <pluto/...>`).
4747

4848
### Termux
49-
5049
Pluto is available in the Termux package main repository under `plutolang` for binaries and `libpluto` for development library.
5150

51+
### Nix/NixOS
52+
53+
:::info
54+
This package is maintained by a member of our community.
55+
:::
56+
57+
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:
58+
```
59+
$ nix-shell -p nur.repos.mbekkomo.plutolang --command pluto
60+
```
61+
62+
Optionally, if you want to install the packages without building it first, you can register a [Cachix](https://cachix.org) store to skip it.
63+
```
64+
$ cachix use mbekkomo
65+
```
66+
5267
## Compile Pluto Yourself
5368

5469
Pluto can compile on virtually any platform, as long as there's a C++ 17 compiler for it.

0 commit comments

Comments
 (0)