docs: update snap instructions (#5007)

As part of #4954, non-edge packages of Starship were removed from Snapcraft. This means the only way to install Starship is through the `edge` channel using `snap install --edge starship`.
This commit is contained in:
Aki Kanellis 2023-04-12 06:55:38 +01:00 committed by GitHub
parent 22ab7255e4
commit f4ccd9ff22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ Alternatively, install Starship using any of the following package managers:
| **_Any_** | **[crates.io]** | `cargo install starship --locked` | | **_Any_** | **[crates.io]** | `cargo install starship --locked` |
| _Any_ | [conda-forge] | `conda install -c conda-forge starship` | | _Any_ | [conda-forge] | `conda install -c conda-forge starship` |
| _Any_ | [Linuxbrew] | `brew install starship` | | _Any_ | [Linuxbrew] | `brew install starship` |
| _Any_ | [Snapcraft] | `snap install starship` | | _Any_ | [Snapcraft] | `snap install --edge starship` |
| Alpine Linux 3.13+ | [Alpine Linux Packages] | `apk add starship` | | Alpine Linux 3.13+ | [Alpine Linux Packages] | `apk add starship` |
| Arch Linux | [Arch Linux Community] | `pacman -S starship` | | Arch Linux | [Arch Linux Community] | `pacman -S starship` |
| CentOS 7+ | [Copr] | `dnf copr enable atim/starship` <br /> `dnf install starship` | | CentOS 7+ | [Copr] | `dnf copr enable atim/starship` <br /> `dnf install starship` |