Auto-update installation instructions in the docs

This commit is contained in:
jakubroztocil 2021-10-10 18:18:39 +00:00
parent 459cdfcf53
commit 7d418aecd0

View File

@ -63,13 +63,13 @@ Do not edit here, but in docs/installation/.
Please make sure you have Python 3.6 or newer (`python --version`). Please make sure you have Python 3.6 or newer (`python --version`).
```bash ```bash
# Install # Install httpie
$ python -m pip install --upgrade pip wheel $ python -m pip install --upgrade pip wheel
$ python -m pip install httpie $ python -m pip install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ python -m pip install --upgrade pip wheel $ python -m pip install --upgrade pip wheel
$ python -m pip install --upgrade httpie $ python -m pip install --upgrade httpie
``` ```
@ -78,61 +78,61 @@ $ python -m pip install --upgrade httpie
#### Homebrew #### Homebrew
To install [Homebrew](https://brew.sh/) follow [installation instructions](https://docs.brew.sh/Installation). To install [Homebrew](https://brew.sh/), see [its installation](https://docs.brew.sh/Installation).
```bash ```bash
# Install # Install httpie
$ brew update $ brew update
$ brew install httpie $ brew install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ brew update $ brew update
$ brew upgrade httpie $ brew upgrade httpie
``` ```
#### MacPorts #### MacPorts
To install [MacPorts](https://www.macports.org/) follow [installation instructions](https://www.macports.org/install.php). To install [MacPorts](https://www.macports.org/), see [its installation](https://www.macports.org/install.php).
```bash ```bash
# Install # Install httpie
$ port selfupdate $ port selfupdate
$ port install httpie $ port install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ port selfupdate $ port selfupdate
$ port upgrade httpie $ port upgrade httpie
``` ```
#### Snapcraft (macOS) #### Snapcraft (macOS)
To install [Snapcraft](https://snapcraft.io/) follow [installation instructions](https://snapcraft.io/docs/installing-snapd). To install [Snapcraft](https://snapcraft.io/), see [its installation](https://snapcraft.io/docs/installing-snapd).
```bash ```bash
# Install # Install httpie
$ snap install httpie $ snap install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ snap refresh httpie $ snap refresh httpie
``` ```
#### Spack (macOS) #### Spack (macOS)
To install [Spack](https://spack.readthedocs.io/en/latest/index.html) follow [installation instructions](https://spack.readthedocs.io/en/latest/getting_started.html#installation). To install [Spack](https://spack.readthedocs.io/en/latest/index.html), see [its installation](https://spack.readthedocs.io/en/latest/getting_started.html#installation).
```bash ```bash
# Install # Install httpie
$ spack install httpie $ spack install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ spack install httpie $ spack install httpie
``` ```
@ -140,15 +140,15 @@ $ spack install httpie
#### Chocolatey #### Chocolatey
To install [Chocolatey](https://chocolatey.org/) follow [installation instructions](https://chocolatey.org/install). To install [Chocolatey](https://chocolatey.org/), see [its installation](https://chocolatey.org/install).
```bash ```bash
# Install # Install httpie
$ choco install httpie $ choco install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ choco upgrade httpie $ choco upgrade httpie
``` ```
@ -156,30 +156,30 @@ $ choco upgrade httpie
#### Snapcraft (Linux) #### Snapcraft (Linux)
To install [Snapcraft](https://snapcraft.io/) follow [installation instructions](https://snapcraft.io/docs/installing-snapd). To install [Snapcraft](https://snapcraft.io/), see [its installation](https://snapcraft.io/docs/installing-snapd).
```bash ```bash
# Install # Install httpie
$ snap install httpie $ snap install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ snap refresh httpie $ snap refresh httpie
``` ```
#### Linuxbrew #### Linuxbrew
To install [Linuxbrew](https://docs.brew.sh/Homebrew-on-Linux) follow [installation instructions](https://docs.brew.sh/Homebrew-on-Linux#install). To install [Linuxbrew](https://docs.brew.sh/Homebrew-on-Linux), see [its installation](https://docs.brew.sh/Homebrew-on-Linux#install).
```bash ```bash
# Install # Install httpie
$ brew update $ brew update
$ brew install httpie $ brew install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ brew update $ brew update
$ brew upgrade httpie $ brew upgrade httpie
``` ```
@ -189,13 +189,13 @@ $ brew upgrade httpie
Also works for other Debian-derived distributions like MX Linux, Linux Mint, deepin, Pop!_OS, KDE neon, Zorin OS, elementary OS, Kubuntu, Devuan, Linux Lite, Peppermint OS, Lubuntu, antiX, Xubuntu, etc. Also works for other Debian-derived distributions like MX Linux, Linux Mint, deepin, Pop!_OS, KDE neon, Zorin OS, elementary OS, Kubuntu, Devuan, Linux Lite, Peppermint OS, Lubuntu, antiX, Xubuntu, etc.
```bash ```bash
# Install # Install httpie
$ apt update $ apt update
$ apt install httpie $ apt install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ apt update $ apt update
$ apt upgrade httpie $ apt upgrade httpie
``` ```
@ -203,13 +203,13 @@ $ apt upgrade httpie
#### Fedora #### Fedora
```bash ```bash
# Install # Install httpie
$ dnf update $ dnf update
$ dnf install httpie $ dnf install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ dnf update $ dnf update
$ dnf upgrade httpie $ dnf upgrade httpie
``` ```
@ -219,14 +219,14 @@ $ dnf upgrade httpie
Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc. Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc.
```bash ```bash
# Install # Install httpie
$ yum update $ yum update
$ yum install epel-release $ yum install epel-release
$ yum install httpie $ yum install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ yum update $ yum update
$ yum upgrade httpie $ yum upgrade httpie
``` ```
@ -234,13 +234,13 @@ $ yum upgrade httpie
#### Alpine Linux #### Alpine Linux
```bash ```bash
# Install # Install httpie
$ apk update $ apk update
$ apk add httpie $ apk add httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ apk update $ apk update
$ apk add --upgrade httpie $ apk add --upgrade httpie
``` ```
@ -248,13 +248,13 @@ $ apk add --upgrade httpie
#### Gentoo #### Gentoo
```bash ```bash
# Install # Install httpie
$ emerge --sync $ emerge --sync
$ emerge httpie $ emerge httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ emerge --sync $ emerge --sync
$ emerge --update httpie $ emerge --update httpie
``` ```
@ -264,40 +264,40 @@ $ emerge --update httpie
Also works for other Arch-derived distributions like ArcoLinux, EndeavourOS, Artix Linux, etc. Also works for other Arch-derived distributions like ArcoLinux, EndeavourOS, Artix Linux, etc.
```bash ```bash
# Install # Install httpie
$ pacman -Sy httpie $ pacman -Sy httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ pacman -Syu httpie $ pacman -Syu httpie
``` ```
#### Void Linux #### Void Linux
```bash ```bash
# Install # Install httpie
$ xbps-install -Su $ xbps-install -Su
$ xbps-install -S httpie $ xbps-install -S httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ xbps-install -Su $ xbps-install -Su
$ xbps-install -Su httpie $ xbps-install -Su httpie
``` ```
#### Spack (Linux) #### Spack (Linux)
To install [Spack](https://spack.readthedocs.io/en/latest/index.html) follow [installation instructions](https://spack.readthedocs.io/en/latest/getting_started.html#installation). To install [Spack](https://spack.readthedocs.io/en/latest/index.html), see [its installation](https://spack.readthedocs.io/en/latest/getting_started.html#installation).
```bash ```bash
# Install # Install httpie
$ spack install httpie $ spack install httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ spack install httpie $ spack install httpie
``` ```
@ -306,12 +306,12 @@ $ spack install httpie
#### FreshPorts #### FreshPorts
```bash ```bash
# Install # Install httpie
$ pkg install www/py-httpie $ pkg install www/py-httpie
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ pkg upgrade www/py-httpie $ pkg upgrade www/py-httpie
``` ```