cli icon indicating copy to clipboard operation
cli copied to clipboard

https not installed

Open SteveALee opened this issue 3 years ago • 2 comments

Checklist

  • [x] I've searched for similar issues.
  • [x] I'm using the latest version of HTTPie.

Minimal reproduction code and steps

  1. WSL on windows 11 (Ubuntu 20.04)
  2. sudo apt install httpie
  3. 3 httpie.io/hello (as per example)

Current result

Command 'https' not found, did you mean:

  command 'http' from deb httpie (1.0.3-2)

Try: sudo apt install <deb name> 

Expected result

works


Debug output

Please re-run the command with --debug, then copy the entire command & output and paste both below:

$ http --debug <COMPLETE ARGUMENT LIST THAT TRIGGERS THE ERROR>
<COMPLETE OUTPUT>

Additional information, screenshots, or code examples

…

SteveALee avatar Apr 12 '22 17:04 SteveALee

Unfortunately the current version in the APT is pretty old. We are currently working on the debian packages, but in the meanwhile I can offer our experimental packages:

$ curl -SsL https://packages.httpie.io/deb/KEY.gpg | apt-key add -
$ curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list
$ apt update
$ apt install httpie

We'll update the official instructions before the next release.

isidentical avatar Apr 12 '22 17:04 isidentical

Thank you for the fast response.

It's interesting that that single example uses https, and before it is mentioned.

SteveALee avatar Apr 12 '22 17:04 SteveALee