From aa8ec1c7e48411297bee2e559c98d960dfb98821 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 8 Oct 2022 22:16:35 +0200 Subject: Add install instructions to the README --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c82b88..4cab388 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ - # center `center(1)` is a very basic UNIX utility to… well… center text. The @@ -9,5 +7,23 @@ the [TODO][2] file in the repo. This utility should be as simple as possible, accepting input from stdin and printing output to stdout. This should be the best utility possible to center text. +## Installation + +If you're on an arch-based Linux distribution, then you can install `center` +from the aur: + +```sh +paru -S center-git +``` + +Otherwise if you would like to build from source, simply run: + +```sh +git clone git://git.thomasvoss.com/center.git +cd center +make +make install +``` + [1]: https://thomasvoss.com/man/center.1.html [2]: https://git.thomasvoss.com/center/tree/TODO -- cgit v1.2.3