Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(install): Improve and extend Installation docs #778

Merged
merged 3 commits into from
Oct 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 30 additions & 10 deletions manual/src/installation.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,75 @@
# Installation

Difftastic [provides GitHub
releases](https://github.com/Wilfred/difftastic/releases) with
prebuilt binaries for Windows, macOS and Linux.
Diffstatic can be installed as pre-built binaries or using various package managers.

If you're a Homebrew user, you can install
## Pre-Built Binaries

Diffstatic releases are published as [GitHub releases](https://github.com/Wilfred/difftastic/releases) with pre-built binaries for Windows, macOS and Linux.
Open the [latest release page](https://github.com/Wilfred/difftastic/releases/latest), download the file matching your OS and CPU architecture, and extract the `difft` executable application file.

## Package Manager

### macOS

If you're a **Homebrew** user, you can install
[difftastic](https://formulae.brew.sh/formula/difftastic) with `brew`.

```
$ brew install difftastic
```

If you're an Arch Linux user, you can install
### Linux and Unix

If you're an **Arch Linux** user, you can install
[difftastic](https://archlinux.org/packages/extra/x86_64/difftastic/)
with `pacman`.

```
$ sudo pacman -S difftastic
```

If you're a Nix user, you can install
If you're a **Nix** user, you can install
[difftastic](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/text/difftastic/default.nix)
with `nix-env`.

```
$ nix-env --install difftastic
```

If you're a Fedora user, you can install [difftastic](https://packages.fedoraproject.org/pkgs/rust-difftastic/difftastic/) with `dnf`.
If you're a **Fedora** user, you can install [difftastic](https://packages.fedoraproject.org/pkgs/rust-difftastic/difftastic/) with `dnf`.

```
$ sudo dnf install difftastic
```

If you're a FreeBSD user, you can install
If you're a **FreeBSD** user, you can install
[difftastic](https://www.freshports.org/textproc/difftastic/)
with `pkg`.

```
$ sudo pkg install difftastic
```

If you're a Windows user, you can install
### Windows

If you're a Windows user using **Windows Package Manager** (*WinGet*), you can install difftastic with `winget`.

```
$ winget install difftastic
```

If you're a Windows user using **Scoop**, you can install
[difftastic](https://scoop.sh/#/apps?q=difftastic)
with `scoop`.

```
$ scoop install difftastic
```

If you're a Windows user, you can install
If you're a Windows user using **Chocolatey**, you can install
[difftastic](https://community.chocolatey.org/packages/difftastic)
with `choco`.

```
$ choco install difftastic
```
Expand Down
Loading