Add FreeBSD installation instructions

Closes #761.
This commit is contained in:
Mickaël Schoentgen 2021-09-23 10:46:06 +02:00
parent 507514b795
commit cae83b3f9e

View File

@ -34,7 +34,7 @@ You are invited to submit fixes and improvements to the docs by editing [this fi
- Custom headers - Custom headers
- Persistent sessions - Persistent sessions
- Wget-like downloads - Wget-like downloads
- Linux, macOS and Windows support - Linux, macOS, Windows, and FreeBSD support
- Plugins - Plugins
- Documentation - Documentation
- Test coverage - Test coverage
@ -102,9 +102,18 @@ $ apk add httpie
$ eopkg install 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 ### 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 ```bash
# Make sure we have an up-to-date version of pip and setuptools: # 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. 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. 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 ```bash
$ python -m pip install --upgrade https://github.com/httpie/httpie/archive/master.tar.gz $ python -m pip install --upgrade https://github.com/httpie/httpie/archive/master.tar.gz