Re:HTTPie – A user-friendly CLI HTTP client
by divbzero on Sunday December 01, 2019 @01:16PM
(#21676873)
The Python dependency for HTTPie is handled by most Linux and macOS package managers [1]. It would be great to have it in Windows package managers as well.
Re:HTTPie – A user-friendly CLI HTTP client
by ducaale on Sunday December 01, 2019 @02:08PM
(#21677192)
One time I tried to install HTTPie from ubuntu 16.04 apt repository I got an old version that was not compatible with httpie-jwt-auth so I had to install it using pip.
1. pip3 install httpie.
2. python3 -m pip install httpie.
3. sudo pip install httpie.
Finally, it was working. Last week I upgraded to ubuntu 18.04 and surprise, httpie is not working. I didn't bother installing again from pip. Luckily this time, apt repository had a recent version.
Scrolling back through my terminal history, I see that I went through the same struggle with s3cmd.
So yeah, installing anything that requires python is a bit painful. Fortunately, someone in the comments mentioned https://github.com/rs/curlie which is an HTTPie alternative in golang.
Conversely something like jq is trivial to install and use almost anywhere because it is just a binary linked against libc. As a result I use it all the time.