3 ms·
This is an extremely minor quibble, but the dependency on Python makes me less inclined to use it. I'm stuck on Windows for a lot of the work I do so configuri
by wdmeldon 11y ago
This is an extremely minor quibble, but the dependency on Python makes me less inclined to use it. I'm stuck on Windows for a lot of the work I do so configuring Python is never fun and there is no one line installation method from what I can tell.
Putting it up on chocolatey[0] might be a good idea. Not sure how feasible that is however.
[0] https://chocolatey.org/packages?q=httpie https://chocolatey.org/packages?q=httpie
- recursive 11y agoI've never needed to do more configuration for python than whatever the installer does. What problem are you having?
- wdmeldon 11y agoI've had enough problems in the past that I try to steer clear at this point. I don't do much with python so it's hard to justify spending much time on it. I think my bigger issue is the lack of being able to do cinst httpie
- daveguy 11y agoThe key is to stick with Python 2.7. Unfortunately pyhon 3 has significantly damaged the brand. Also installing msysgit will give you git and the msys command line which is a nice easy to install mostly UNIX command line. It is not a beast like cygwin. With msysgit (for git and msys) you can practically live in the command line on Windows and with python 2.7 the py things mostly just work. pywin32 helps for some things and if pip install doesn't work there's always the unofficial windows binaries: http://www.lfd.uci.edu/~gohlke/pythonlibs/ http://www.lfd.uci.edu/~gohlke/pythonlibs/
- MatthewPhillips 11y agoThat's true of running just about any command-line tool on Windows. We were promised an ecosystem of Powershell modlets that operate on objects rather than text, but that hasn't really happened.
- wdmeldon 11y agoAny time I'm critical of Windows treatment of CLIs, I'm either met with "Why would I need a CLI, it's not the 80s" or "PowerShell is vastly superior to bash". The issue keeping the MS world from adopting adequate text only tools seems to be much more related to developer mindset than anything technical.
- MatthewPhillips 11y agoI think it's the mindset of not being involved in open-source mostly.
- ank_the_elder 11y agoPreviously on HN: https://news.ycombinator.com/item?id=10418882 https://news.ycombinator.com/item?id=10418882 (that's the thread where I first found out about httpie)
- sbierwagen 11y agoShould have lead that comment with "I'm on Windows, so". Of course it's going to be miserable to use any command-line tool on Windows. It's Windows.
- kayone 11y agoI'm not sure why you feel like that, I switched back to Windows after ~1 year of using OSX, I wouldn't say its "miserable" there is really nothing I could do in OSX's command line that can't do in windows.
- barbs 11y agoWhat is your Windows command-line environment? Plain CMD prompt or Cygwin? Or something else?
- kentt 11y agoI don't get agree with your parent, but I used cygwin when I was on Windows and it mostly does what you want if you just need basic command line tools. The major annoyances were packages were limited, compiling anything was generally a disaster and file permissions between linux/windows are a mess. I happily used it everyday though.
- gutnor 11y agoPowershell is very powerful and for windows it beats cygwin/mingw. Not quite sure how it measure against Linux shells running on Linux, but Microsoft has really made a proper shell for windows, too bad it looks so different. Obviously if you work in a cross-platform environment, cygwin/mingw is still the only thing that will provide you some sort of consistency in your workflow on Windows machines.
- kayone 11y agoI use git bash, with conemu, to be honest I don't do anything crazy but most of the linux commands I need day to day just work.
- 11y ago
- seanp2k2 11y ago+1; I likely wouldn't be able to just jump on any host and copy/paste some commands that worked from my laptop with this, but I can do that with curl and assume that it's installed and of a reasonably serviceable version basically everywhere I'd be.
- tbrock 11y agoI had the same quibble, was going to write my own but found and now use bat. https://github.com/astaxie/bat/blob/master/README.md https://github.com/astaxie/bat/blob/master/README.md I don't use Windows but I also dislike python dependencies if I can get away with just needing libc.
- vic-traill 11y agoI use the Babun Shell [0] on Windows desktops to provide an environment for tools more typically found and used in a Unix-like environment. I know it's not the same as installing a tool natively, but it lets me a) use some tools pretty much in the way I prefer to do so and b) check out stuff that I see on HN (and elsewhere) without a PITA install. Installing was a one line deal if pip is installed (pip install --upgrade httpie), which in turn was a one line installation (wget https://bootstrap.pypa.io/get-pip.py https://bootstrap.pypa.io/get-pip.py -O - | python) That's pretty close to one line. [0] https://babun.github.io/ https://babun.github.io/
- jkbr 11y agoRelevant GitHub Issue: https://github.com/jkbrzt/httpie/issues/58 https://github.com/jkbrzt/httpie/issues/58