As I always forget how to do it on windows using babun or cygwin, I’ll push here the steps I followed in order to reinstall the excellent HTTPie command line tool for REST (and http in general) on my fresh renewed babun installation.

First verify that pip is not installed on your system by running pip --version in a shell.
If the command pip is not found then continue, otherwise directly go to HTTPie installation.

  • install easy_install:

    wget https://bootstrap.pypa.io/ez_setup.py -O - | python, instruction taken from setuptools

  • install pip using easy_install:

    easy_install pip, if command is not found try with easy_install-2.7 pip or easy_install-3.4 pip or other version depending on the python version

  • install HTTPie:

    pip install httpie

You’re done, enjoy calling your REST endpoints using a really powerfull CLI tool.