🍺 BREW Explorer

← all formulae

flash

brew install flash v2.7.2 MIT

Command-line script to flash SD card images of any kind

27
30-day installs · #6084
95
90-day · #5701
513
365-day · #5050
1.0k
★ GitHub stars · updated 4y ago

GitHub topics

card-reader flash hypriot-flash hypriot-os raspberry-pi sd-card-image sd-cards wifi-settings

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Command-line script to flash SD card images of any kind",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:41+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "flash",
  "github_default_branch": "master",
  "github_last_commit_at": "2022-06-06T09:48:11Z",
  "github_readme_excerpt": "# flash\n\n[![CircleCI](https://circleci.com/gh/hypriot/flash.svg?style=svg)](https://circleci.com/gh/hypriot/flash)\n[![Build Status](https://travis-ci.org/hypriot/flash.svg?branch=master)](https://travis-ci.org/hypriot/flash)\n[![Release](https://img.shields.io/github/release/hypriot/flash.svg)](https://github.com/hypriot/flash/releases)\n[![Stars](\thttps://img.shields.io/github/stars/hypriot/flash.svg?style=social\u0026label=Stars)](https://github.com/hypriot/flash#installation)\n\nCommand line script to flash SD card images of any kind.\n\nNote that for some devices (e.g. Raspberry Pi), at the end of the flashing process the tool tries to customize the SD card e.g. it configures a hostname or WiFi. And with a cloud-init enabled image you can do much more like adding users, SSH keys etc.\n\nThe typical workflow looks like this:\n\n[![asciicast](https://asciinema.org/a/4k72pounxxybtix84ecl4b69w.png)](https://asciinema.org/a/4k72pounxxybtix84ecl4b69w)\n\n1. Run `flash https://github.com/hypriot/image-builder-rpi/releases/download/v1.12.0/hypriotos-rpi-v1.12.0.img.zip`\n2. Insert SD card to your notebook\n3. Press RETURN\n4. Eject SD card and insert it to your Raspberry Pi - done!\n\nThis script can\n\n* download a compressed SD card from the internet or from S3\n* use a local SD card image, either compressed or uncompressed\n* wait until a SD card is plugged in\n* search for a SD card plugged into your Computer\n* show progress bar while flashing (if `pv` is installed)\n* copy an optional cloud-init `user-data` and `meta-data` file into the boot partition of the SD image\n* copy an optional `config.txt` file into the boot partition of the SD image (eg. to enable onboard WiFi)\n* copy an optional `device-init.yaml` or `occidentalis.txt` file into the boot partition of the SD image (for older HypriotOS versions)\n* copy an optional custom file into the boot partition of the SD image\n* optional set the hostname of this SD image\n* optional set the WiFi settings as well\n* play a little sound after flashi",
  "github_repo": "hypriot/flash",
  "github_stars": 1021,
  "github_topics": [
    "card-reader",
    "flash",
    "hypriot-flash",
    "hypriot-os",
    "raspberry-pi",
    "sd-card-image",
    "sd-cards",
    "wifi-settings"
  ],
  "homepage": "https://github.com/hypriot/flash",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 27,
  "installs_365d": 513,
  "installs_90d": 95,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "flash",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 6084,
  "rank_365d": 5050,
  "rank_90d": 5701,
  "raw_hash": "40170ba5e76f55d3",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/f/flash.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.7.2",
  "versioned_formulae": [],
  "why_use_this": null
}