diff --git a/docs/README.md b/docs/README.md index 44b0c0a3..173ccd7a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -126,6 +126,66 @@ $ choco upgrade httpie ### Linux +#### Debian and Ubuntu + +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 +# Install httpie +$ curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg +$ sudo echo "deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/httpie.list +$ sudo apt update +$ sudo apt install httpie +``` + +```bash +# Upgrade httpie +$ sudo apt update && sudo apt upgrade httpie +``` + +#### Fedora + +```bash +# Install httpie +$ dnf install httpie +``` + +```bash +# Upgrade httpie +$ dnf upgrade httpie +``` + +#### CentOS and RHEL + +Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc. + +```bash +# Install httpie +$ yum install epel-release +$ yum install httpie +``` + +```bash +# Upgrade httpie +$ yum upgrade httpie +``` + +#### Single binary executables + +Get the standalone HTTPie Linux executables when you don't want to go through the full installation process. + +```bash +# Install httpie +$ https --download packages.httpie.io/binaries/linux/http-latest -o http +$ ln -ls ./http ./https +$ chmod +x ./http ./https +``` + +```bash +# Upgrade httpie +$ https --download packages.httpie.io/binaries/linux/http-latest -o http +``` + #### Snapcraft (Linux) To install [Snapcraft](https://snapcraft.io/), see [its installation](https://snapcraft.io/docs/installing-snapd). @@ -156,52 +216,6 @@ $ brew update $ brew upgrade httpie ``` -#### Debian and Ubuntu - -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 -# Install httpie -$ sudo -i -$ curl -SsL https://packages.httpie.io/deb/KEY.gpg | apt-key add - -$ curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list -$ apt update -$ apt install httpie -``` - -```bash -# Upgrade httpie -$ apt update -$ apt upgrade httpie -``` - -#### Fedora - -```bash -# Install httpie -$ dnf install httpie -``` - -```bash -# Upgrade httpie -$ dnf upgrade httpie -``` - -#### CentOS and RHEL - -Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc. - -```bash -# Install httpie -$ yum install epel-release -$ yum install httpie -``` - -```bash -# Upgrade httpie -$ yum upgrade httpie -``` - #### Arch Linux Also works for other Arch-derived distributions like ArcoLinux, EndeavourOS, Artix Linux, etc. @@ -216,21 +230,6 @@ $ pacman -Syu httpie $ pacman -Syu ``` -#### Single binary executables - -Get the standalone HTTPie Linux executables when you don't want to go through the full installation process - -```bash -# Install httpie -$ https --download packages.httpie.io/binaries/linux/http-latest -o http -$ chmod +x ./http -``` - -```bash -# Upgrade httpie -$ https --download packages.httpie.io/binaries/linux/http-latest -o http -``` - ### FreeBSD #### FreshPorts diff --git a/extras/man/http.1 b/extras/man/http.1 index 8aded62f..eef0e071 100644 --- a/extras/man/http.1 +++ b/extras/man/http.1 @@ -1,5 +1,5 @@ .\" This file is auto-generated from the parser declaration in httpie/cli/definition.py by extras/scripts/generate_man_pages.py. -.TH http 1 "2022-05-06" "HTTPie 3.2.1" "HTTPie Manual" +.TH http 1 "2022-05-06" "HTTPie 3.2.2" "HTTPie Manual" .SH NAME http .SH SYNOPSIS @@ -511,9 +511,9 @@ are shown here). A string in the OpenSSL cipher list format. By default, the following -is used: +ciphers are used on your system: -ECDHE+AESGCM:ECDHE+CHACHA20:DHE+AESGCM:DHE+CHACHA20:ECDH+AESGCM:DH+AESGCM:ECDH+AES:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!eNULL:!MD5:!DSS +TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA diff --git a/extras/man/httpie.1 b/extras/man/httpie.1 index 54b41459..0536d61b 100644 --- a/extras/man/httpie.1 +++ b/extras/man/httpie.1 @@ -1,5 +1,5 @@ .\" This file is auto-generated from the parser declaration in httpie/manager/cli.py by extras/scripts/generate_man_pages.py. -.TH httpie 1 "2022-05-06" "HTTPie 3.2.1" "HTTPie Manual" +.TH httpie 1 "2022-05-06" "HTTPie 3.2.2" "HTTPie Manual" .SH NAME httpie .SH SYNOPSIS diff --git a/extras/man/https.1 b/extras/man/https.1 index 35f9f757..2395ba41 100644 --- a/extras/man/https.1 +++ b/extras/man/https.1 @@ -1,5 +1,5 @@ .\" This file is auto-generated from the parser declaration in httpie/cli/definition.py by extras/scripts/generate_man_pages.py. -.TH https 1 "2022-05-06" "HTTPie 3.2.1" "HTTPie Manual" +.TH https 1 "2022-05-06" "HTTPie 3.2.2" "HTTPie Manual" .SH NAME https .SH SYNOPSIS @@ -511,9 +511,9 @@ are shown here). A string in the OpenSSL cipher list format. By default, the following -is used: +ciphers are used on your system: -ECDHE+AESGCM:ECDHE+CHACHA20:DHE+AESGCM:DHE+CHACHA20:ECDH+AESGCM:DH+AESGCM:ECDH+AES:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!eNULL:!MD5:!DSS +TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA