curb

A modern HTTPS-only alternative to curl and wget.

curb is a transport utility written in Go, using only the standard library, with zero third-party dependencies.

curb https://api.example.com/users          # streams JSON to stdout
curb https://example.com/release.tar.gz     # saves to disk
curb --vet https://get.example.com/sh | sh  # vets before piping

curb picks the right behavior based on what the server returns and whether the output is going to a human or a pipe. Sensible defaults that match the situation, with flag overrides when you want to be explicit.

Install

brew install --cask 33b5e5/tap/curb

or

go install gocurb.dev/curb@latest

(Or grab a prebuilt binary for macOS or Linux.)

Three modes

Foundations