Skip to content

Instantly share code, notes, and snippets.

@simonw
Last active February 10, 2026 01:16
Show Gist options
  • Select an option

  • Save simonw/fb0b24696ed8dd91314fe41f4c453563 to your computer and use it in GitHub Desktop.

Select an option

Save simonw/fb0b24696ed8dd91314fe41f4c453563 to your computer and use it in GitHub Desktop.

How to use curl and jq

2026-02-10T01:12:30Z

Here's how to use curl and jq together.

curl -s https://api.github.com/repos/simonw/rodney | jq .description
"CLI tool for interacting with the web"

And the curl logo, to demonstrate the image command:

curl -o curl-logo.png https://curl.se/logo/curl-logo.png && echo curl-logo.png

2056e48f-2026-02-10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment