Make it easy to copy and paste

This commit is contained in:
Wesley 2022-01-15 00:25:27 +01:00 committed by GitHub
parent 42659f9345
commit f0b9cceb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,74 +105,74 @@ More information on how to install exa is available on [the Installation page](h
On Alpine Linux, [enable community repository](https://wiki.alpinelinux.org/wiki/Enable_Community_Repository) and install the [`exa`](https://pkgs.alpinelinux.org/package/edge/community/x86_64/exa) package. On Alpine Linux, [enable community repository](https://wiki.alpinelinux.org/wiki/Enable_Community_Repository) and install the [`exa`](https://pkgs.alpinelinux.org/package/edge/community/x86_64/exa) package.
$ apk add exa apk add exa
### Arch Linux ### Arch Linux
On Arch, install the [`exa`](https://www.archlinux.org/packages/community/x86_64/exa/) package. On Arch, install the [`exa`](https://www.archlinux.org/packages/community/x86_64/exa/) package.
$ pacman -S exa pacman -S exa
### Android / Termux ### Android / Termux
On Android / Termux, install the [`exa`](https://github.com/termux/termux-packages/tree/master/packages/exa) package. On Android / Termux, install the [`exa`](https://github.com/termux/termux-packages/tree/master/packages/exa) package.
$ pkg install exa pkg install exa
### Debian ### Debian
On Debian, install the [`exa`](https://packages.debian.org/unstable/exa) package. On Debian, install the [`exa`](https://packages.debian.org/unstable/exa) package.
For now, exa is in the _unstable_ repository. For now, exa is in the _unstable_ repository.
$ apt install exa apt install exa
### Fedora ### Fedora
On Fedora, install the [`exa`](https://src.fedoraproject.org/modules/exa) package. On Fedora, install the [`exa`](https://src.fedoraproject.org/modules/exa) package.
$ dnf install exa dnf install exa
### Gentoo ### Gentoo
On Gentoo, install the [`sys-apps/exa`](https://packages.gentoo.org/packages/sys-apps/exa) package. On Gentoo, install the [`sys-apps/exa`](https://packages.gentoo.org/packages/sys-apps/exa) package.
$ emerge sys-apps/exa emerge sys-apps/exa
### Homebrew ### Homebrew
If youre using [Homebrew](https://brew.sh/) on macOS, install the [`exa`](http://formulae.brew.sh/formula/exa) formula. If youre using [Homebrew](https://brew.sh/) on macOS, install the [`exa`](http://formulae.brew.sh/formula/exa) formula.
$ brew install exa brew install exa
### MacPorts ### MacPorts
If you're using [MacPorts](https://www.macports.org/) on macOS, install the [`exa`](https://ports.macports.org/port/exa/summary) port. If you're using [MacPorts](https://www.macports.org/) on macOS, install the [`exa`](https://ports.macports.org/port/exa/summary) port.
$ port install exa port install exa
### Nix ### Nix
On nixOS, install the [`exa`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/exa/default.nix) package. On nixOS, install the [`exa`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/exa/default.nix) package.
$ nix-env -i exa nix-env -i exa
### openSUSE ### openSUSE
On openSUSE, install the [`exa`](https://software.opensuse.org/package/exa) package. On openSUSE, install the [`exa`](https://software.opensuse.org/package/exa) package.
$ zypper install exa zypper install exa
### Ubuntu ### Ubuntu
On Ubuntu 20.10 (Groovy Gorilla) and later, install the [`exa`](https://packages.ubuntu.com/groovy/exa) package. On Ubuntu 20.10 (Groovy Gorilla) and later, install the [`exa`](https://packages.ubuntu.com/groovy/exa) package.
$ sudo apt install exa sudo apt install exa
### Void Linux ### Void Linux
On Void Linux, install the [`exa`](https://github.com/void-linux/void-packages/blob/master/srcpkgs/exa/template) package. On Void Linux, install the [`exa`](https://github.com/void-linux/void-packages/blob/master/srcpkgs/exa/template) package.
$ xbps-install -S exa xbps-install -S exa
### Manual installation from GitHub ### Manual installation from GitHub
@ -185,7 +185,7 @@ For more information, see the [Manual Installation page](https://the.exa.website
If you already have a Rust environment set up, you can use the `cargo install` command: If you already have a Rust environment set up, you can use the `cargo install` command:
$ cargo install exa cargo install exa
Cargo will build the `exa` binary and place it in `$HOME/.cargo`. Cargo will build the `exa` binary and place it in `$HOME/.cargo`.
@ -212,8 +212,8 @@ The recommended way to install Rust for development is from the [official downlo
Once Rust is installed, you can compile exa with Cargo: Once Rust is installed, you can compile exa with Cargo:
$ cargo build cargo build
$ cargo test cargo test
- The [just](https://github.com/casey/just) command runner can be used to run some helpful development commands, in a manner similar to `make`. - The [just](https://github.com/casey/just) command runner can be used to run some helpful development commands, in a manner similar to `make`.
Run `just --tasks` to get an overview of whats available. Run `just --tasks` to get an overview of whats available.