Skip to content

Commit 80685f3

Browse files
authored
doc: add homebrew install instruction (#44)
1 parent 5ef4919 commit 80685f3

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![Go Report Card](https://goreportcard.com/badge/github.com/gruntwork-io/git-xargs)](https://goreportcard.com/report/github.com/gruntwork-io/git-xargs)
22
[![gruntwork-io](https://circleci.com/gh/gruntwork-io/git-xargs.svg?style=svg)](https://circleci.com/gh/gruntwork-io/git-xargs)
3+
[![Homebrew](https://img.shields.io/badge/dynamic/json.svg?url=https://formulae.brew.sh/api/formula/git-xargs.json&query=$.versions.stable&label=homebrew)](https://formulae.brew.sh/formula/git-xargs)
34

45
# Table of contents
56

@@ -135,7 +136,15 @@ COMMAND SUPPLIED
135136

136137
## Getting started
137138

138-
### Installation option 1: Installing published binaries
139+
### Installation option 1: Homebrew
140+
141+
If you are [Homebrew](https://brew.sh/) user, you can install by running
142+
143+
```bash
144+
$ brew install git-xargs
145+
```
146+
147+
### Installation option 2: Installing published binaries
139148

140149
1. **Download the correct binary for your platform**. Visit [the releases
141150
page](https://github.com/gruntwork-io/git-xargs/releases) and download the correct binary depending on your system.
@@ -153,7 +162,7 @@ COMMAND SUPPLIED
153162
git-xargs --version
154163
```
155164
156-
### Installation option 2: Run go get
165+
### Installation option 3: Run go get
157166
158167
1. Ensure you have Golang installed and working properly on your system. [Follow the official Golang install guide](https://golang.org/doc/install) to get started.
159168

0 commit comments

Comments
 (0)