From 803c6aa078aeabb0b143608cbffa67b5dd785d5c Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 10 May 2018 16:49:10 +0200 Subject: [PATCH] Add installation section --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index b3c0565..66dce17 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,21 @@ $ nix-env -f '' -iA nix-prefetch-scripts Consult the Nix documentation for detailed installation instructions. +Installation +============ +This package can be installed with both `composer` and the Nix package manager. +To install it with composer, run: + +```bash +$ composer global require svanderburg/composer2nix +``` + +To install this package with Nix, clone the Git repository and run: + +```bash +$ nix-env -f release.nix -iA package.x86_64-linux +``` + Usage ===== You need a project providing a `composer.json` and (if applicable) a