Add generic installer

This commit is contained in:
Ajeet D'Souza 2021-06-17 14:20:51 +05:30
parent 273b6ed1cf
commit 53f713659d

View File

@ -31,11 +31,21 @@ Read more about the matching algorithm [here][algorithm-matching].
### Step 1: Install `zoxide` ### Step 1: Install `zoxide`
`zoxide` works across all major platforms. If your distribution isn't included On **Linux** / **macOS**:
in the list below, you can download the binary from the [Releases] page and
copy it to your `$PATH`.
#### On Linux ```sh
curl -sS https://webinstall.dev/zoxide | bash
```
On **Windows**:
```sh
curl.exe -A "MS" https://webinstall.dev/zoxide | powershell
```
Alternatively, you can install it using a package manager:
On **Linux**:
| Distribution | Repository | Instructions | | Distribution | Repository | Instructions |
| ------------------ | ----------------------- | ------------------------------------------------------------------------------------------------------ | | ------------------ | ----------------------- | ------------------------------------------------------------------------------------------------------ |
@ -54,7 +64,7 @@ copy it to your `$PATH`.
| Ubuntu 21.04+ | [Ubuntu Packages] | `apt install zoxide` | | Ubuntu 21.04+ | [Ubuntu Packages] | `apt install zoxide` |
| Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` | | Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` |
#### On macOS On **macOS**:
| Repository | Instructions | | Repository | Instructions |
| --------------- | ------------------------------------- | | --------------- | ------------------------------------- |
@ -63,7 +73,7 @@ copy it to your `$PATH`.
| [Homebrew] | `brew install zoxide` | | [Homebrew] | `brew install zoxide` |
| [MacPorts] | `port install zoxide` | | [MacPorts] | `port install zoxide` |
#### On Windows On **Windows**:
| Repository | Instructions | | Repository | Instructions |
| --------------- | ------------------------------------- | | --------------- | ------------------------------------- |
@ -72,7 +82,7 @@ copy it to your `$PATH`.
| [conda-forge] | `conda install -c conda-forge zoxide` | | [conda-forge] | `conda install -c conda-forge zoxide` |
| [Scoop] | `scoop install zoxide` | | [Scoop] | `scoop install zoxide` |
#### On BSD On **BSD**:
| Distribution | Repository | Instructions | | Distribution | Repository | Instructions |
| ------------- | --------------- | ---------------------- | | ------------- | --------------- | ---------------------- |
@ -81,7 +91,7 @@ copy it to your `$PATH`.
| FreeBSD | [FreshPorts] | `pkg install zoxide` | | FreeBSD | [FreshPorts] | `pkg install zoxide` |
| NetBSD | [pkgsrc] | `pkgin install zoxide` | | NetBSD | [pkgsrc] | `pkgin install zoxide` |
#### On Android On **Android**:
| Repository | Instructions | | Repository | Instructions |
| ---------- | -------------------- | | ---------- | -------------------- |