From cae83b3f9e2077afee85992e8135cae70bb91cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Thu, 23 Sep 2021 10:46:06 +0200 Subject: [PATCH] Add FreeBSD installation instructions Closes #761. --- docs/README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/README.md b/docs/README.md index 02383417..7f631011 100644 --- a/docs/README.md +++ b/docs/README.md @@ -34,7 +34,7 @@ You are invited to submit fixes and improvements to the docs by editing [this fi - Custom headers - Persistent sessions - Wget-like downloads -- Linux, macOS and Windows support +- Linux, macOS, Windows, and FreeBSD support - Plugins - Documentation - Test coverage @@ -102,9 +102,18 @@ $ apk add httpie $ eopkg install httpie ``` +### FreeBSD + +On FreeBSD, HTTPie is available in the ports collection. A prebuilt package +can be installed via [pkg(8)](https://man.freebsd.org/pkg/8>): + +```bash +$ pkg install www/py-httpie +``` + ### Windows, universal -A universal installation method (that works on Linux, macOS and Windows, and always provides the latest version) is to use [pip](https://pypi.org/project/pip/): +A universal installation method (that works on Linux, macOS, Windows, FreeBSD, and always provides the latest version) is to use [pip](https://pypi.org/project/pip/): ```bash # Make sure we have an up-to-date version of pip and setuptools: @@ -131,7 +140,7 @@ Python version 3.6 or greater is required. You can also install the latest unreleased development version directly from the `master` branch on GitHub. It is a work-in-progress of a future stable release so the experience might be not as smooth. -You can install it on Linux, macOS or Windows with `pip`: +You can install it on Linux, macOS, Windows, or FreeBSD with `pip`: ```bash $ python -m pip install --upgrade https://github.com/httpie/httpie/archive/master.tar.gz