Skip to content

Commit

Permalink
Add installation instructions
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
Wilfred committed Jul 19, 2021
1 parent 28d5e51 commit bb55867
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,25 @@ Patch files. If you want to create a patch that you can later apply,
use `diff`. Difftastic ignores whitespace, so its output is
lossy. (AST patching is also a hard problem.)

## Installation

You can install the latest tag of difftastic with Cargo:

```
$ cargo install difftastic
```

Difftastic is still under heavy development, so there's usually major
bugfixes since the latest release. I currently recommend you check out
the repository and compile directly:

```
$ cargo build --release
```

This will give you a binary at `./target/release/difftastic` that you
can put in a directory on your `$PATH`.

## Dogfooding

Once you've compiled `difftastic` and it's on `$PATH`, you can try
Expand Down

0 comments on commit bb55867

Please sign in to comment.