Skip to content

Commit

Permalink
Add generic installer
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetdsouza committed Jun 17, 2021
1 parent 273b6ed commit 53f7136
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,21 @@ Read more about the matching algorithm [here][algorithm-matching].

### Step 1: Install `zoxide`

`zoxide` works across all major platforms. If your distribution isn't included
in the list below, you can download the binary from the [Releases] page and
copy it to your `$PATH`.
On **Linux** / **macOS**:

#### 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 |
| ------------------ | ----------------------- | ------------------------------------------------------------------------------------------------------ |
Expand All @@ -54,7 +64,7 @@ copy it to your `$PATH`.
| Ubuntu 21.04+ | [Ubuntu Packages] | `apt install zoxide` |
| Void Linux | [Void Linux Packages] | `xbps-install -S zoxide` |

#### On macOS
On **macOS**:

| Repository | Instructions |
| --------------- | ------------------------------------- |
Expand All @@ -63,7 +73,7 @@ copy it to your `$PATH`.
| [Homebrew] | `brew install zoxide` |
| [MacPorts] | `port install zoxide` |

#### On Windows
On **Windows**:

| Repository | Instructions |
| --------------- | ------------------------------------- |
Expand All @@ -72,7 +82,7 @@ copy it to your `$PATH`.
| [conda-forge] | `conda install -c conda-forge zoxide` |
| [Scoop] | `scoop install zoxide` |

#### On BSD
On **BSD**:

| Distribution | Repository | Instructions |
| ------------- | --------------- | ---------------------- |
Expand All @@ -81,7 +91,7 @@ copy it to your `$PATH`.
| FreeBSD | [FreshPorts] | `pkg install zoxide` |
| NetBSD | [pkgsrc] | `pkgin install zoxide` |

#### On Android
On **Android**:

| Repository | Instructions |
| ---------- | -------------------- |
Expand Down

0 comments on commit 53f7136

Please sign in to comment.