aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-10-08 22:16:35 +0200
committerThomas Voss <mail@thomasvoss.com> 2022-10-08 22:16:35 +0200
commitaa8ec1c7e48411297bee2e559c98d960dfb98821 (patch)
tree9b0b9170652b08411d71a298c309ffd652074f5f /README.md
parent986100777fe681b2f2865c562cf098e5ce3c1b7c (diff)
Add install instructions to the README
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files 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 @@
-<!-- vi: tw=80
- -->
# 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