# `mix firmware.image`
[🔗](https://github.com/nerves-project/nerves/blob/v1.14.1/lib/mix/tasks/firmware.image.ex#L9)

Create a firmware image file that can be copied byte-for-byte to an SDCard
or other memory device.

## Usage

    mix firmware.image [my_image.img]

If not supplied, the output image file will be based off the OTP application
name.

## Examples

```
# Create the image file
mix firmware.image my_image.img

# Write it to a MicroSD card in Linux
dd if=my_image.img of=/dev/sdc bs=1M
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
