RPI-IMAGER(1)
πΎ rpi-imager πΎ
okay so bestie, welcome to the rpi-imager manual page β it's the General Commands Manual for rpi-imager, and i'm literally about to make flashing disk images make sense. no cap, this tool is iconic. β¨
πΈ NAME πΈ
rpi-imager β flash disk images to removable storage π
π¦ SYNOPSIS π¦
okay so here's the vibe check on how you run this thing:
rpi-imager [--debug] [--repo url] [--qm translations]
[--disable-telemetry] [--enable-secure-boot] [image-uri]
rpi-imager --cli [--debug] [--quiet] [--disable-verify]
[--sha256 expected-hash] [--secure-boot-key key-file] image-
uri destination-device
rpi-imager --version
rpi-imager --help
π DESCRIPTION π
so rpi-imager is literally a utility for writing a disk image file β which may optionally be compressed β to a removable destination disk. think micro-SD card or a USB-attached SSD drive. it's giving "main character energy" for all your flashing needs. π₯
when you run it without further command line arguments, the utility presents a simple graphical interface with controls for image-file selection, target drive selection, and one to start writing. in this mode, the Raspberry Pi server (and potentially third party servers) will be queried for available OS images. you may also specify an image-uri (which may be a local file, or an HTTP or HTTPS URL) to flash directly on the command line. π«Ά
when run with the --cli argument, the utility directly flashes the image-uri given to the specified destination-drive. in this case, the --sha256 option can be used to pass in the expected SHA256 checksum of the image. ngl, that's lowkey iconic. β¨
β OPTIONS β
okay bestie, here's the full menu of flags β every single one, no skips, fr fr:
--cliβ Do not launch the graphical interface; just flash the image given to the specified drive. In this mode, theimage-urianddestination-devicemust both be specified. π--debugβ Output extra debugging information on the console. lowkey useful when things get messy. π--disable-telemetryβ Do not report OS writes tohttp://rpi-imager-stats.raspberrypi.com/. keep your business private, periodt. π--disable-verifyβ After writing the image, do not attempt to verify that the image was written correctly. Only valid when run with--cli. π--enable-secure-bootβ Force enable the secure boot customization step in the GUI, regardless of whether the selected operating system declares support for secure boot via its capabilities flag. Useful for testing or advanced usage scenarios where secure boot signing should be available even for operating systems that don't explicitly advertise the feature. π--helpβ Display a synopsis of the command line syntax and exit. the classic "help me help you" moment. π«Ά--quietβ Suppress all console output. Only valid when run with--cli. shhh bestie, we're being sneaky. π€«--qm translationsβ Specify an alternate Qt message translations file to use with the GUI. for my multilingual besties. π--repo urlβ Instead of querying the Raspberry Pi servers for the list of available OS images, query this URL instead. The URL will be expected to return a JSON file conforming to the format described in the associated json-schema. π§--secure-boot-key key-fileβ Path to an RSA 2048-bit private key file in PEM format for signing the boot partition to enable Raspberry Pi secure boot. When specified, the utility will createboot.imgandboot.sigfiles on the boot partition. The key file must exist and be readable. This option can be combined with other customization options like--first-run-scriptor--cloudinit-userdata. Only valid when run with--cli. π--sha256 expected-hashβ Verify that the image matches theexpected-hashbefore writing it to the specified destination. Only valid when run with--cli. β--versionβ Report the version of the utility, and the default URI it will attempt to query to determine the available OS images. know your roots, bestie. πimage-uriβ If specified, the URI of the image to write to the destination. This may be a local file, or a remote URL supporting the HTTP or HTTPS protocols. This must be specified when using--cli. πdestination-deviceβ The device to which to write the specified image, e.g./dev/mmcblk0. Only valid when run with--cli. the place where the magic happens. β¨
π EXAMPLES π
okay so here's where it gets fun β real commands, real vibes:
rpi-imagerβ Launch the graphical interface. simple. iconic. πrpi-imager --repo http://localhost:8080/os_list_utility.jsonβ Test a locally hosted version of the OS list with the graphical interface. for my dev besties testing things out. π οΈrpi-imager --cli --disable-verify test.img /dev/mmcblk0β Writetest.imgto/dev/mmcblk0without any verification of the image itself, and no check that the image flashed correctly. This also avoids launching the graphical interface. lowkey risky but you got this. πrpi-imager --cli --secure-boot-key ~/secure-boot-key.pem raspios.img /dev/mmcblk0β Writeraspios.imgto/dev/mmcblk0and sign the boot partition with the RSA private key located at~/secure-boot-key.pem. This enables Raspberry Pi secure boot verification. π₯rpi-imager --enable-secure-bootβ Launch the graphical interface with secure boot customization step enabled for all operating systems, regardless of their declared capabilities. The RSA key must still be configured in the App Options dialog. π
π SEE ALSO π
dd(1) β the OG, the classic, the one your CS professor told you to use. π
πβ¨ and that's literally it, bestie β¨π
this page is from the General Commands Manual β source and version are the whole RPI-IMAGER(1) situation, and the date is right there in the footer, so consider this your cute little sign-off. now go flash some drives and slay. π ππ¦
π¦ where this page comes from
- arch rolling: rpi-imager 2.0.12-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms