# `mix bb_camera_v4l.install`
[🔗](https://github.com/beam-bots/bb_camera_v4l/blob/main/lib/mix/tasks/bb_camera_v4l.install.ex#L6)

Installs BB.Camera.V4L into a robot

Adds a `:config.:camera` param group holding the device path and geometry,
writes the device default to the robot's parameters, and imports
`bb_camera_v4l` into your formatter.

The camera itself belongs on a specific link — whichever one it is bolted
to — and the installer cannot guess which, so it prints a snippet to paste
into the topology.

## Example

```bash
mix igniter.install bb_camera_v4l
mix igniter.install bb_camera_v4l --device /dev/video2
```

## Options

* `--robot` - The robot module (defaults to `{AppPrefix}.Robot`).
* `--device` - The V4L2 device node (default `/dev/video0`).

---

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