2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 14:56:29 +00:00

Add instruction on how to install restic using Nix

This commit is contained in:
Pascal Bach 2017-09-27 22:37:43 +02:00 committed by Pascal Bach
parent 1ee1559506
commit 97330ac621

View File

@ -15,16 +15,27 @@ If you are using Mac OS X, you can install restic using the
$ brew tap restic/restic
$ brew install restic
archlinux
~~~~~~~~~
Arch Linux
~~~~~~~~~~
On archlinux, there is a package called ``restic-git`` which can be
On `Arch Linux <https://www.archlinux.org/>`__, there is a package called ``restic-git`` which can be
installed from AUR, e.g. with ``pacaur``:
.. code-block:: console
$ pacaur -S restic-git
Nix & NixOS
~~~~~~~~~~~
If you are using `Nix <https://nixos.org/nix/>`__ or `NixOS <https://nixos.org/>`__
there is a package available named ``restic``.
It can be installed uisng `nix-env`:
.. code-block:: console
$ nix-env --install restic
Pre-compiled Binary
-------------------