summaryrefslogtreecommitdiffstats
path: root/readme/install.md
blob: 820e7b26349478e6978b7b95ab2bb5e2a57dfbb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Installation

## Table of Contents

* [Official Installation Methods](#official-installation-methods)
    * [Debian and derivatives](#debian-and-derivatives)
    * [Red Hat Linux, Fedora and derivatives](#red-hat-linux-fedora-and-derivatives)
    * [macOS](#macos)
    * [Windows](#windows)
    * [Alpine, Arch, and Raspberry Pi OS](#alpine-arch-and-raspberry-pi-os)
* [Cargo Package Manager](#cargo-package-manager-most-platforms)
* [Community Supported Repositories](#community-supported-repositories)
    * [Alpine Linux](#alpine-linux)
    * [Arch Linux](#arch-linux)
    * [Gnu Guix Package Manager](#gnu-guix-package-manager)
    * [FreeBSD](#freebsd)
    * [Windows](#windows-1)

## Official Installation Methods

### Debian and derivatives

Download the `.deb` file from the [releases page][releases] and install with:

    sudo dpkg -i /path/to/git-interactive-rebase-tool-*.deb

The executable will be installed to `/usr/bin`.

### Red Hat Linux, Fedora and derivatives

Download the `.rpm` file from the [releases page][releases] and install with your package manager of choice:

    sudo rpm -i /path/to/git-interactive-rebase-tool-*.rpm
    sudo yum localinstall /path/to/git-interactive-rebase-tool-*.rpm
    sudo dnf localinstall /path/to/git-interactive-rebase-tool-*.rpm

### macOS

#### With [Homebrew](https://brew.sh/)

    brew install git-interactive-rebase-tool

#### Manual install

Download the macOS binary from the [releases page][releases] and copy it as `interactive-rebase-tool` to a location on your `PATH`.

#### Notes

On macOS, Terminal.app does not support highlighting the selected line(s). If you want this feature you will need to use
a terminal emulator like [iTerm2](https://iterm2.com/index.html).

### Windows

*Note: Windows binaries are not fully tested. If you are having issues please report them.*

Download the tool from the [releases page][releases] and save it to a known location.

### Alpine, Arch, and Raspberry Pi OS

#### Manual Install

Download the binary from the [releases page][releases] and copy it as `interactive-rebase-tool` to a location on your `PATH`.

## Cargo Package Manager (Most platforms)

The project can be installed directly from [crates.io](https://crates.io/crates/git-interactive-rebase-tool) via cargo.

    cargo install git-interactive-rebase-tool

## Community Supported Repositories

Community supported repositories are not officially supported, as they are maintained by community members. As such, they do not always provide the latest version. If you run into an issue with a community repository, please reach out to the community member supporting the platform.

### Alpine Linux

Install the [git-interactive-rebase-tool](https://pkgs.alpinelinux.org/packages?name=git-interactive-rebase-tool) package from the community repository (since Alpine v3.14):

    apk add git-interactive-rebase-tool

### Arch Linux

With your [AUR](https://aur.archlinux.org/) helper of choice:

    yay -S git-interactive-rebase-tool

#### Manual Install

1. Download the [package snapshot](https://aur.archlinux.org/packages/git-interactive-rebase-tool/)
2. Extract to a known location
3. Run `makepkg -si` from the extracted location

### Gnu Guix Package Manager

    guix install git-interactive-rebase-tool

#### In a temporary environment

    guix shell git-interactive-rebase-tool

#### In a temporary container (Linux namespace)

    guix shell --container git-interactive-rebase-tool

### FreeBSD

FreeBSD support is provided by the community, and while attempts are made to ensure everything works on the platform, it is not officially supported. If you run into problems please [create an issue](https://github.com/MitMaro/git-interactive-rebase-tool/issues/new) describing the problem.

With [Ports](https://www.freebsd.org/ports/) using `pkg`

    pkg install interactive_rebase_tool

#### Manual

    cd /usr/ports/devel/interactive_rebase_tool && make install clean

### Windows

#### With [Chocolatey](https://chocolatey.org/)

    choco install git-interactive-rebase-tool

#### With [Scoop](https://scoop.sh/)

    scoop install git-interactive-rebase-tool

[releases]:https://github.com/MitMaro/git-interactive-rebase-tool/releases