mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 05:12:10 +00:00
Add instruction on how to install restic using Nix
This commit is contained in:
parent
1ee1559506
commit
97330ac621
@ -15,16 +15,27 @@ If you are using Mac OS X, you can install restic using the
|
|||||||
$ brew tap restic/restic
|
$ brew tap restic/restic
|
||||||
$ brew install 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``:
|
installed from AUR, e.g. with ``pacaur``:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pacaur -S restic-git
|
$ 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
|
Pre-compiled Binary
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user