
= Installation

== Imperative installation, bleeding edge

```
git clone git@github.com:hercules-ci/arion.git
cd arion
nix-env -iA arion -f .
```

// TODO: replace the above with something like below
////

== Not installing: use it in a project

TODO: describe: using nix-shell or in a script, building images as
      part of nix-build, pinning, see also todomvc-nix.

TODO: exposed Nix functions: arion.build, arion.eval (a bit of IFD)

== Mac or traditional Linux

```
nix-env -iA nixpkgs.arion
```

== NixOS

Add this module to your NixOS configuration:

```
{ pkgs, ... } {
  virtualisation.docker.enable = true;
  environment.systemPackages = [ pkgs.arion ];
}
```

////
