Skip to content

Commit

Permalink
Merge pull request #329 from DerGoogler/master
Browse files Browse the repository at this point in the history
Update install docs for Android (root)
  • Loading branch information
ducaale authored Oct 21, 2023
2 parents 9e3b1b4 + cfff4b8 commit e076701
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,32 +25,33 @@ iwr -useb https://raw.githubusercontent.com/ducaale/xh/master/install.ps1 | iex

### via a package manager

| OS | Method | Command |
|--------------------|------------|--------------------------------------------|
| Any | Cargo\* | `cargo install xh` |
| Any | [Huber] | `huber install xh` |
| Android ([Termux]) | pkg | `pkg install xh` |
| Android ([Magisk]) | Magisk\*\* | `magisk --install-module <path/to/module>` |
| Alpine Linux | apk\*\*\* | `apk add xh` |
| Arch Linux | Pacman | `pacman -S xh` |
| Debian & Ubuntu | Apt\*\*\*\*| `sudo apt install xh` |
| FreeBSD | FreshPorts | `pkg install xh` |
| Linux & macOS | Nixpkgs | `nix-env -iA nixpkgs.xh` |
| Linux & macOS | Homebrew | `brew install xh` |
| macOS | MacPorts | `sudo port install xh` |
| Windows | Scoop | `scoop install xh` |
| Windows | Chocolatey | `choco install xh` |
| OS | Method | Command |
|------------------------------|------------|--------------------------------------------|
| Any | Cargo\* | `cargo install xh` |
| Any | [Huber] | `huber install xh` |
| Android ([Termux]) | pkg | `pkg install xh` |
| Android ([Magisk]/[KernelSU]) | MMRL\*\* | `mmrl install xhhttp` |
| Alpine Linux | apk\*\*\* | `apk add xh` |
| Arch Linux | Pacman | `pacman -S xh` |
| Debian & Ubuntu | Apt\*\*\*\*| `sudo apt install xh` |
| FreeBSD | FreshPorts | `pkg install xh` |
| Linux & macOS | Nixpkgs | `nix-env -iA nixpkgs.xh` |
| Linux & macOS | Homebrew | `brew install xh` |
| macOS | MacPorts | `sudo port install xh` |
| Windows | Scoop | `scoop install xh` |
| Windows | Chocolatey | `choco install xh` |

\* Make sure that you have Rust 1.64 or later installed

\*\* To install the module pick one of these [releases](https://github.com/Magisk-Modules-Alt-Repo/xhhttp/releases)
\*\* You will need to install the [MMRL CLI](https://github.com/DerGoogler/MMRL-CLI/releases)

\*\*\* The xh package is available in Edge and will be in v3.17+. It is built with native-tls only.

\*\*\*\* You will need to add the apt repository from https://apt.cli.rs/

[Huber]: https://github.com/innobead/huber#installing-huber
[Magisk]: https://github.com/topjohnwu/Magisk
[KernelSU]: https://kernelsu.org
[Termux]: https://github.com/termux/termux-app

### via pre-built binaries
Expand Down

0 comments on commit e076701

Please sign in to comment.