|
2 | 2 |
|
3 | 3 | ## Table of Contents
|
4 | 4 |
|
5 |
| -* [Alpine Linux](./install.md#alpine-linux) |
6 |
| -* [Arch Linux](./install.md#arch-linux) |
7 |
| -* [Cargo Package Manager](./install.md#cargo-package-manager) |
8 |
| -* [Debian and derivatives](./install.md#debian-and-derivatives) |
9 |
| -* [GNU Guix](./install.md#gnu-guix-package-manager) |
10 |
| -* [FreeBSD](./install.md#freebsd) |
11 |
| -* [macOS](./install.md#macos) |
12 |
| -* [Windows](./install.md#windows) |
| 5 | +* [Official Installation Methods](#official-installation-methods) |
| 6 | + * [Debian and derivatives](#debian-and-derivatives) |
| 7 | + * [Red Hat Linux, Fedora and derivatives](#red-hat-linux-fedora-and-derivatives) |
| 8 | + * [macOS](#macos) |
| 9 | + * [Windows](#windows) |
| 10 | + * [Alpine, Arch, and Raspberry Pi OS](#alpine-arch-and-raspberry-pi-os) |
| 11 | +* [Cargo Package Manager](#cargo-package-manager-most-platforms) |
| 12 | +* [Community Supported Repositories](#community-supported-repositories) |
| 13 | + * [Alpine Linux](#alpine-linux) |
| 14 | + * [Arch Linux](#arch-linux) |
| 15 | + * [Gnu Guix Package Manager](#gnu-guix-package-manager) |
| 16 | + * [FreeBSD](#freebsd) |
| 17 | + * [Windows](#windows-1) |
| 18 | + |
| 19 | +## Official Installation Methods |
| 20 | + |
| 21 | +### Debian and derivatives |
13 | 22 |
|
14 |
| -## Alpine Linux |
15 |
| - |
16 |
| -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): |
| 23 | +Download the `.deb` file from the [releases page][releases] and install with: |
17 | 24 |
|
18 |
| - apk add git-interactive-rebase-tool |
| 25 | + sudo dpkg -i /path/to/git-interactive-rebase-tool-*.deb |
19 | 26 |
|
20 |
| -## Arch Linux |
| 27 | +The executable will be installed to `/usr/bin`. |
21 | 28 |
|
22 |
| -### With your [AUR](https://aur.archlinux.org/) helper of choice |
| 29 | +### Red Hat Linux, Fedora and derivatives |
23 | 30 |
|
24 |
| - yay -S git-interactive-rebase-tool |
| 31 | +Download the `.rpm` file from the [releases page][releases] and install with your package manager of choice: |
25 | 32 |
|
26 |
| -### Manual Install |
| 33 | + sudo rpm -i /path/to/git-interactive-rebase-tool-*.rpm |
| 34 | + sudo yum localinstall /path/to/git-interactive-rebase-tool-*.rpm |
| 35 | + sudo dnf localinstall /path/to/git-interactive-rebase-tool-*.rpm |
27 | 36 |
|
28 |
| -1. Download the [package snapshot](https://aur.archlinux.org/packages/git-interactive-rebase-tool/) |
29 |
| -1. Extract to a known location |
30 |
| -1. Run `makepkg -si` from the extracted location |
| 37 | +### macOS |
31 | 38 |
|
32 |
| -#### Troubleshooting |
| 39 | +#### With [Homebrew](https://brew.sh/) |
33 | 40 |
|
34 |
| -If you receive the error, "no default toolchain configured", run `rustup default stable` and then retry the installation. |
35 |
| -This generally happens when `rustup` is installed without setting a default toolchain. |
| 41 | + brew install git-interactive-rebase-tool |
36 | 42 |
|
37 |
| -### Remove |
| 43 | +#### Manual install |
38 | 44 |
|
39 |
| - sudo pacman -R git-interactive-rebase-tool |
| 45 | +Download the macOS binary from the [releases page][releases] and copy it as `interactive-rebase-tool` to a location on your `PATH`. |
40 | 46 |
|
41 |
| -## Cargo Package Manager |
| 47 | +#### Notes |
42 | 48 |
|
43 |
| - cargo install git-interactive-rebase-tool |
44 |
| - |
45 |
| -### Remove |
| 49 | +On macOS, Terminal.app does not support highlighting the selected line(s). If you want this feature you will need to use |
| 50 | +a terminal emulator like [iTerm2](https://iterm2.com/index.html). |
46 | 51 |
|
47 |
| - cargo uninstall git-interactive-rebase-tool |
| 52 | +### Windows |
48 | 53 |
|
49 |
| -## Debian and derivatives |
| 54 | +*Note: Windows binaries are not fully tested. If you are having issues please report them.* |
50 | 55 |
|
51 |
| -Download the `.deb` file from the [releases page][releases] and install with: |
| 56 | +Download the tool from the [releases page][releases] and save it to a known location. |
52 | 57 |
|
53 |
| - sudo dpkg -i /path/to/git-interactive-rebase-tool_*.deb |
| 58 | +### Alpine, Arch, and Raspberry Pi OS |
54 | 59 |
|
55 |
| -The executable will be installed to `/usr/bin`. |
| 60 | +#### Manual Install |
56 | 61 |
|
57 |
| -### Remove |
| 62 | +Download the binary from the [releases page][releases] and copy it as `interactive-rebase-tool` to a location on your `PATH`. |
58 | 63 |
|
59 |
| - sudo dpkg -r git-interactive-rebase-tool |
60 |
| - |
61 |
| -## Gnu Guix Package Manager |
| 64 | +## Cargo Package Manager (Most platforms) |
62 | 65 |
|
63 |
| - guix install git-interactive-rebase-tool |
| 66 | +The project can be installed directly from [crates.io](https://crates.io/crates/git-interactive-rebase-tool) via cargo. |
64 | 67 |
|
65 |
| -### Remove |
| 68 | + cargo install git-interactive-rebase-tool |
66 | 69 |
|
67 |
| - guix remove git-interactive-rebase-tool |
68 |
| - |
69 |
| -### In a temporary environment |
| 70 | +## Community Supported Repositories |
70 | 71 |
|
71 |
| - guix shell git-interactive-rebase-tool |
72 |
| - |
73 |
| -### In a temporary container (Linux namespace) |
| 72 | +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. |
74 | 73 |
|
75 |
| - guix shell --container git-interactive-rebase-tool |
| 74 | +### Alpine Linux |
76 | 75 |
|
77 |
| -## FreeBSD |
| 76 | +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): |
78 | 77 |
|
79 |
| -### With [Ports](https://www.freebsd.org/ports/) |
| 78 | + apk add git-interactive-rebase-tool |
80 | 79 |
|
81 |
| -#### Using pkg |
| 80 | +### Arch Linux |
82 | 81 |
|
83 |
| - pkg install interactive_rebase_tool |
| 82 | +With your [AUR](https://aur.archlinux.org/) helper of choice: |
84 | 83 |
|
85 |
| -#### Manual |
| 84 | + yay -S git-interactive-rebase-tool |
86 | 85 |
|
87 |
| - cd /usr/ports/devel/interactive_rebase_tool && make install clean |
| 86 | +#### Manual Install |
88 | 87 |
|
89 |
| -#### Remove |
| 88 | +1. Download the [package snapshot](https://aur.archlinux.org/packages/git-interactive-rebase-tool/) |
| 89 | +2. Extract to a known location |
| 90 | +3. Run `makepkg -si` from the extracted location |
90 | 91 |
|
91 |
| - pkg remove interactive_rebase_tool |
| 92 | +### Gnu Guix Package Manager |
92 | 93 |
|
93 |
| -## macOS |
| 94 | + guix install git-interactive-rebase-tool |
94 | 95 |
|
95 |
| -### With [Homebrew](https://brew.sh/) |
| 96 | +#### In a temporary environment |
96 | 97 |
|
97 |
| - brew install git-interactive-rebase-tool |
| 98 | + guix shell git-interactive-rebase-tool |
98 | 99 |
|
99 |
| -#### Remove |
| 100 | +#### In a temporary container (Linux namespace) |
100 | 101 |
|
101 |
| - brew rm git-interactive-rebase-tool |
| 102 | + guix shell --container git-interactive-rebase-tool |
102 | 103 |
|
103 |
| -### Manual install |
| 104 | +### FreeBSD |
104 | 105 |
|
105 |
| -Download the `macos-interactive-rebase-tool` from the [releases page][releases] and copy it as `interactive-rebase-tool` |
106 |
| -to a location on your `PATH`. |
| 106 | +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. |
107 | 107 |
|
108 |
| -#### Remove |
| 108 | +With [Ports](https://www.freebsd.org/ports/) using `pkg` |
109 | 109 |
|
110 |
| -Delete the copied `interactive-rebase-tool`. |
| 110 | + pkg install interactive_rebase_tool |
111 | 111 |
|
112 |
| -### Notes |
| 112 | +#### Manual |
113 | 113 |
|
114 |
| -On macOS, Terminal.app does not support highlighting the selected line(s). If you want this feature you will need to use |
115 |
| -a terminal emulator like [iTerm2](https://iterm2.com/index.html). |
| 114 | + cd /usr/ports/devel/interactive_rebase_tool && make install clean |
116 | 115 |
|
117 |
| -## Windows |
| 116 | +### Windows |
118 | 117 |
|
119 |
| -### With [Chocolatey](https://chocolatey.org/) |
| 118 | +#### With [Chocolatey](https://chocolatey.org/) |
120 | 119 |
|
121 | 120 | choco install git-interactive-rebase-tool
|
122 | 121 |
|
123 |
| -#### Remove |
124 |
| - |
125 |
| - choco uninstall git-interactive-rebase-tool |
126 |
| - |
127 |
| -### With [Scoop](https://scoop.sh/) |
| 122 | +#### With [Scoop](https://scoop.sh/) |
128 | 123 |
|
129 | 124 | scoop install git-interactive-rebase-tool
|
130 | 125 |
|
131 |
| -#### Remove |
132 |
| - |
133 |
| - scoop uninstall git-interactive-rebase-tool |
134 |
| - |
135 |
| -### Manual Install |
136 |
| - |
137 |
| -*Note: Windows binaries are not fully tested. If you are having issues please report them.* |
138 |
| - |
139 |
| -Download the tool from the [releases page][releases] and save it to a known location. |
140 |
| - |
141 |
| -#### Remove |
142 |
| - |
143 |
| -Delete the saved executable. |
144 |
| - |
145 | 126 | [releases]:https://github.com/MitMaro/git-interactive-rebase-tool/releases
|
0 commit comments