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.
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-3.4 pipor other version depending on the python version
pip install httpie
You’re done, enjoy calling your REST endpoints using a really powerfull CLI tool.