docs: add homebrew installation

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2021-12-13 23:20:27 -05:00
parent 7147695971
commit 94a2edf573
No known key found for this signature in database
GPG Key ID: 6577287BDCA70840

View File

@ -7,7 +7,7 @@ fix` can fix several such occurrences.
For the time-being, `statix` works only with ASTs
produced by the `rnix-parser` crate and does not evaluate
any nix code (imports, attr sets etc.).
any nix code (imports, attr sets etc.).
## Examples
@ -48,6 +48,12 @@ nix run git+https://git.peppe.rs/languages/statix -- --help
cachix use statix
```
Install with [brew/linuxbrew](https://brew.sh)
```bash
brew install statix
```
## Usage
Basic usage is as simple as: