# ed audio-devices use

> ed audio-devices use in the Edith ed command line reference. ed audio-devices

- Canonical URL: https://getedith.pro/docs/cli/audio-devices/use
- Updated: 2026-12-02

[`ed audio-devices`](https://getedith.pro/docs/cli/audio-devices)

Switches the output in use, or the microphone with `--input`. Per-app routes
follow: an app routed to the new output plays there without a tap.

```
ed audio-devices use <device> [--input] [--json]
```

| Argument or option | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<device>` | id or name | required | The device to use. |
| `--input` | flag | off | Switch the microphone instead of the output. |
| `--json` | flag | off | Emit the status object on stdout. |

```
$ ed audio-devices use headphones
now using Synthetic Headphones
```

A device that cannot play (or record, with `--input`) exits 2. A device that is
not connected exits 3.

## Where to go next

- [`ed audio-devices next`](https://getedith.pro/docs/cli/audio-devices/next)
- [All `ed audio-devices` commands](https://getedith.pro/docs/cli/audio-devices)
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
