Curlie
The power of curl, the ease of use of httpie.
If you like the interface of [HTTPie](https://httpie.org) but miss the features of [curl](https://curl.haxx.se), curlie is what you are searching for. Curlie is a frontend to `curl` that adds the ease of use of `httpie`, without compromising on features and performance. All `curl` options are exposed with syntax sugar and output formatting inspired from `httpie`. The project is written primarily in Go, distributed under the MIT License license, first published in 2018. It has gained significant community traction with 3,669 stars and 114 forks on GitHub. Key topics include: api-client, cli, curl, developer-tools, go.
Curlie
If you like the interface of HTTPie but miss the features of curl, curlie is what you are searching for. Curlie is a frontend to curl that adds the ease of use of httpie, without compromising on features and performance. All curl options are exposed with syntax sugar and output formatting inspired from httpie.
Install
Using homebrew:
shbrew install curlie
Using webi:
sh# macOS / Linux curl -sS https://webinstall.dev/curlie | bash
pwsh# Windows curl.exe -A "MS" https://webinstall.dev/curlie | powershell
Using eget:
sh# Ubuntu/Debian eget rs/curlie -a deb --to=curlie.deb sudo dpkg -i curlie.deb
Using macports:
shsudo port install curlie
Using pkg:
shpkg install curlie
Using go:
shgo install github.com/rs/curlie@latest
Using scoop:
shscoop install curlie
Using mise:
shmise use -g curlie@latest
Or download a binary package.
Usage
Synopsis:
shcurlie [CURL_OPTIONS...] [METHOD] URL [ITEM [ITEM]]
Simple GET:

Custom method, headers and JSON data:

When running interactively, curlie provides pretty-printed output for json. To force pretty-printed output, pass --pretty.
Build
Build with goreleaser to test that all platforms compile properly.
shgoreleaser build --clean --snapshot
Or for your current platform only.
shgoreleaser build --clean --snapshot --single-target
Differences with httpie
- Like
curlbut unlikehttpie, headers are written onstderrinstead ofstdout. - Output is not buffered, all the formatting is done on the fly so you can easily debug streamed data.
- Use the
--curloption to print executed curl command.
License
All source code is licensed under the MIT License.
Contributors
Showing top 12 contributors by commit count.
