Add MacOS install instructions, closes #33

This commit is contained in:
sharkdp 2018-05-10 12:35:07 +02:00
parent ea27053a63
commit 13a53d230b

View File

@ -63,11 +63,10 @@ Explicitly specify the language
Check out the [Release page](https://github.com/sharkdp/bat/releases) for Check out the [Release page](https://github.com/sharkdp/bat/releases) for
binary builds and Debian packages. binary builds and Debian packages.
#### Arch Linux #### On Arch Linux
On Arch Linux, you can install You can install [the AUR package](https://aur.archlinux.org/packages/bat/)
[the AUR package](https://aur.archlinux.org/packages/bat/) via yaourt, or via yaourt, or manually:
manually:
```bash ```bash
git clone https://aur.archlinux.org/bat.git git clone https://aur.archlinux.org/bat.git
@ -75,6 +74,14 @@ cd bat
makepkg -si makepkg -si
``` ```
#### On macOS
You can install `bat` with [Homebrew](http://braumeister.org/formula/bat):
``` bash
brew install bat
```
### From source ### From source
If you want to build to compile `bat` from source, you need Rust 1.24 or If you want to build to compile `bat` from source, you need Rust 1.24 or