Add instructions for installing via Homebrew (#238)

This commit is contained in:
Casey Rodarmor 2017-11-09 13:30:39 -08:00 committed by GitHub
parent 5800d73302
commit fcc27a9993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,15 +37,11 @@ toc::[]
`just` should run on any system with a reasonable `sh`. `just` should run on any system with a reasonable `sh`.
On Windows, the `sh` provided by https://git-scm.com[git] and https://desktop.github.com[GitHub Desktop] should both work. On Windows, you'll need to install https://git-scm.com[git] or https://desktop.github.com[GitHub Desktop].
=== Pre-built Binaries
Pre-built binaries for Linux, macOS, and Windows can be found on https://github.com/casey/just/releases[the releases page].
=== Cargo === Cargo
`just` can also be installed with `cargo`, the https://www.rust-lang.org[rust language package manager]: `just` can be installed using `cargo`, the https://www.rust-lang.org[rust language package manager]:
1. Install rust and cargo by following the instructions https://www.rustup.rs[here] 1. Install rust and cargo by following the instructions https://www.rustup.rs[here]
2. Run `cargo install just` 2. Run `cargo install just`
@ -53,8 +49,17 @@ Pre-built binaries for Linux, macOS, and Windows can be found on https://github.
`rustup` may have done #3 for you. If this doesn't work, put `export PATH="$HOME/.cargo/bin:$PATH"` in your shell's configuration file `rustup` may have done #3 for you. If this doesn't work, put `export PATH="$HOME/.cargo/bin:$PATH"` in your shell's configuration file
== Quick Start === Homebrew
On MacOS, `just` is a available through the https://brew.sh[Homebrew] package manager. Install Homebrew using the instructions at https://brew.sh, then run:
`brew install just`
=== Pre-built Binaries
Pre-built binaries for Linux, macOS, and Windows can be found on https://github.com/casey/just/releases[the releases page].
== Quick Start
See xref:Installation[] for how to install `just` on your computer. Try running `just --version` to make sure that it's installed correctly. See xref:Installation[] for how to install `just` on your computer. Try running `just --version` to make sure that it's installed correctly.