Skip to main content

One line command for download latest Raspberry Pi OS image

Jose CerrejonLess than 1 minuteRaspberry Pi

One line command for download latest Raspberry Pi OS image

Download Raspberry Pi OS from Terminal
Download Raspberry Pi OS from Terminal

I like to use Terminal for everything (I'm an old school man). Check how I download the latest version of the Raspberry Pi OS for aarch64 (It's what I use), with the next command:

curl -s https://downloads.raspberrypi.org/operating-systems-categories.json | jq -r '.[0].images[0].urlHttp' | xargs axel -n 4 -k

As you can see, I'm using curl, jqopen in new window to read the json file & axelopen in new window as a download manager, because is the fastest method, but you can change it with its arguments.