From 7e25a4e567bd780e9a3abbc59d9cb795f3e7a924 Mon Sep 17 00:00:00 2001 From: Reese Williams Date: Sun, 27 Nov 2022 07:44:48 -0600 Subject: [PATCH] Document installation with `brew` (#372) --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad9ac285..fa7ac183 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,17 @@ ## How do I use it -Build it: + +### Install from `brew` + +On Mac and Linux, `rubyfmt` can be installed with [Homebrew](https://brew.sh/): + +```bash +brew install rubyfmt +``` + +### Build from source + 1. Make sure you've got cargo installed 2. Run `make all` 3. Copy target/release/rubyfmt-main to somewhere on your path as `rubyfmt`