cli
cli copied to clipboard
https not installed
Checklist
- [x] I've searched for similar issues.
- [x] I'm using the latest version of HTTPie.
Minimal reproduction code and steps
- WSL on windows 11 (Ubuntu 20.04)
- sudo apt install httpie
- 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
…
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.
Thank you for the fast response.
It's interesting that that single example uses https, and before it is mentioned.