Elixir Embedded

Hardware doesn’t have to be hard.

Nerves is the open-source embedded framework for shipping products with Elixir. Made for teams putting devices in the field, and happy to help with weekend projects too.
$mix archive.install hex nerves_bootstrap

The board is the Nerves Starter Kit, open hardware by Protolux Electronics.

What’s in the box

Everything between the silicon and your code

Nerves takes care of networking, logging, watchdogs, firmware updates and the rest of the plumbing, so your team can focus on what makes the device yours.

  1. L1 · F.Cu

    Application

    Your Elixir application, with the whole ecosystem along for the ride: web UIs, inference, media, robotics.

    • Phoenix
    • Nx
    • Membrane
    • BEAM Bots
    • Elixir Circuits
  2. L2 · In1.Cu

    BEAM

    Boots straight into the Erlang VM. Supervisors restart what breaks, with a hardware watchdog as backup.

    • VintageNet
    • RingLogger
    • Nerves Heart
  3. L3 · In2.Cu

    System

    A minimal Linux built with Buildroot: read-only root filesystem, A/B partitions, data kept separate.

    • Linux
    • Buildroot
    • U-Boot
    • SquashFS
  4. L4 · B.Cu

    Tooling

    Plain Mix tasks build firmware and get it onto devices, by SD card or over the network.

    • mix firmware
    • mix burn
    • mix upload
    • fwup

and why it holds up in the field

  • Reliable

    A fault-tolerant Erlang runtime and immutable firmware, so you know exactly what’s running.

  • Lean

    Build up instead of trimming down. Firmware starts in the 20–30 MB range.

  • Secure

    Minimal and opt-in, with regular Erlang and Linux updates and SBOMs via Buildroot.

  • Portable

    Runs out of the box on common boards. Linux and Buildroot make porting to new ones easier.

  • Efficient

    Erlang’s I/O optimisations, like IOData, keep data copies down across the whole stack.

  • Extensible

    Nerves is part of the lively Elixir ecosystem. Phoenix, LiveView, Nx, Membrane, BEAM Bots and more.

Who it’s for

Built for production devices, friendly to tinkerers

There are hundreds of thousands of commercial Nerves devices in the field. The same tools work just as well on your desk.

For teams shipping products

Ship it and sleep at night

  • Immutable firmware, so every device runs exactly what you built
  • A/B firmware updates that fall back to the last good version
  • Regular Erlang and Linux security updates, with SBOMs via Buildroot
  • Custom systems for your own boards, built the same way as the official ones
Read the case studies
For tinkerers and the curious

Come and tinker

  • Start on a Raspberry Pi you already own
  • Guided Livebook tutorials, no toolchain required
  • Books, talks and a newsletter to learn from
  • A Discord where beginner questions are welcome
Try Nerves Livebook
Sponsors

Kept going by people who build with it

Become a sponsor