Speed_!full! Download Curl -
-w "%{speed_download}\n" : Outputs the average speed in bytes per second followed by a newline. Extracting and Formatting Speed Data
: Added in curl 7.55.0, this returns the speed as a more robust curl_off_t type. Comparison: speed_download vs. Progress Meter speed_download Variable Default Progress Meter Output Type Single numeric value (average) Real-time updating table Best For Logging, scripts, benchmarks Manual monitoring Timing Available only after completion Available during the transfer Accuracy High (measured over the full transfer) Snapshot-based (last 5 seconds) Key Performance Metrics to Combine speed_download curl
The raw output of speed_download is in bytes per second, which can be hard to read for large files (e.g., 1186138 instead of 1.1 MB/s ). You can pipe the result to numfmt to convert it into human-readable units. -w "%{speed_download}\n" : Outputs the average speed in
curl -o /dev/null -s -w "%{speed_download}\n" https://example.com Use code with caution. speed_download curl

