Installation

macOS

On macOS, HTTPie can be installed via Homebrew(recommended):

  1. $ brew install httpie

A MacPorts port is also available:

  1. $ port install httpie

Linux

Most Linux distributions provide a package that can be installed using thesystem package manager, for example:

  1. # Debian, Ubuntu, etc.
  2. $ apt-get install httpie
  1. # Fedora
  2. $ dnf install httpie
  1. # CentOS, RHEL, ...
  2. $ yum install httpie
  1. # Arch Linux
  2. $ pacman -S httpie

Windows, etc.

A universal installation method (that works on Windows, Mac OS X, Linux, …,and always provides the latest version) is to use pip:

  1. # Make sure we have an up-to-date version of pip and setuptools:
  2. $ pip install --upgrade pip setuptools
  3.  
  4. $ pip install --upgrade httpie

(If pip installation fails for some reason, you can tryeasy_install httpie as a fallback.)

Python version

Python version 3.6 or greater is required.

Unstable version

You can also install the latest unreleased development version directly fromthe master branch on GitHub. It is a work-in-progress of a future stablerelease so the experience might be not as smooth.

Build status of the master branch on Mac/Linux/Windows

On macOS you can install it with Homebrew:

  1. $ brew install httpie --HEAD

Otherwise with pip:

  1. $ pip install --upgrade https://github.com/jakubroztocil/httpie/archive/master.tar.gz

Verify that now we have thecurrent development version identifierwith the -dev suffix, for example:

  1. $ http --version
  2. 1.0.0-dev