Readwalk/claude Get it for Mac

Claude Code by voice

How to use Claude Code voice mode

Claude Code voice mode is built-in dictation. Type /voice, hold Space, speak, then release: your words become the prompt. Use /voice tap to tap to start and tap to send. You need a Claude.ai sign-in, not an API key, and a local microphone. Transcription doesn't use tokens. Voice mode is input only; it doesn't read replies aloud.

Does Claude Code have voice mode?

Yes. Claude Code voice dictation turns speech into text for your prompt. Enable it with /voice. Your audio streams to Anthropic's servers for transcription; it isn't processed locally.

Transcription doesn't consume Claude messages or tokens and doesn't count toward /usage limits. Voice mode doesn't speak Claude's replies.

For spoken replies, see how to add Claude Code text to speech.

For the bigger picture, including command tools like Talon, see voice coding: how to code by voice.

How do I turn on Claude Code voice mode?

  1. Run /login and sign in with a Claude.ai account.
  2. Type /voice. The confirmation looks like: Voice mode enabled (hold). Hold space to record. Dictation language: en (/config to change).
  3. On a Mac, allow your terminal to use the microphone when macOS first asks.
  4. Hold Space, speak, and release.

Plain /voice toggles dictation on or off and keeps the current mode. Set it directly with /voice hold, /voice tap or /voice off.

To keep tap mode on across sessions, add this voice object to ~/.claude/settings.json, keeping any existing settings:

{
  "voice": {
    "enabled": true,
    "mode": "tap"
  }
}

What's the difference between hold and tap mode?

Mode How it works
Hold (default) Push to talk: hold Space to record, then release to stop. During warmup, the footer shows keep holding…, then listening….
Tap Tap Space to start, speak, then tap again to send. The footer shows ● REC · tap to send. Transcripts under three words are inserted without being submitted.

In hold mode, add "autoSubmit": true inside the voice object to send on release when the transcript has at least three words.

How do I change the push-to-talk key?

Run /keybindings to open ~/.claude/keybindings.json. Bind voice:pushToTalk in the Chat context. This example binds meta+k and unbinds Space:

{
  "bindings": [
    {
      "context": "Chat",
      "bindings": {
        "meta+k": "voice:pushToTalk",
        "space": null
      }
    }
  ]
}

Avoid bare letters in hold mode: hold detection relies on key repeat. A modifier combination like meta+k starts recording on the first keypress. Caps Lock can't be bound because terminals don't receive it.

How do I change the dictation language?

Set language through /config or in ~/.claude/settings.json. It accepts a language name or BCP 47 code, for example:

{
  "language": "japanese"
}

An empty setting uses English. An unsupported language makes /voice warn you and fall back to English for dictation. This setting also changes the language of Claude's replies.

The twenty supported dictation languages are Czech, Danish, Dutch, English, French, German, Greek, Hindi, Indonesian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish and Ukrainian.

Where does voice mode work: Mac, Linux, Windows, WSL, SSH, VS Code?

Claude Code supports dictation on macOS, Linux, Windows and WSL.

WSL needs WSLg, included with WSL2 from the Microsoft Store on Windows 10 or 11. On WSL1, use native Windows instead.

On Linux, if the native audio module doesn't load, Claude Code falls back to arecord (ALSA utils) or rec (SoX). If neither is installed, /voice prints an install command.

The VS Code extension supports dictation with a Claude.ai account too. An empty language setting there falls back to VS Code's accessibility.voice.speechLanguage.

For the shortcut, the microphone button and getting a sound when it finishes, see how to talk to Claude Code in VS Code.

Voice input needs a local microphone, so SSH and cloud sessions won't work. Neither will VS Code Remote sessions: SSH, Dev Containers or Codespaces. The extension runs on the remote host while your microphone is local.

For a session you drive from the Claude app, see how to talk to Claude Code from your phone.

Why is Claude Code voice mode not available or not working?

Voice mode requires a Claude.ai sign-in. It isn't available with an Anthropic API key, Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry.

Message or problem What to do
Unknown command: /voice Run /login. Remove ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, apiKeyHelper or third-party provider settings if present, then restart Claude Code.
Voice mode requires a Claude.ai account Run /login.
Voice mode is disabled by your organization's policy Ask your admin.
Microphone access is denied On Mac, allow your terminal under System Settings › Privacy & Security › Microphone. Quit and reopen the terminal.
Voice mode requires SoX for audio recording On Linux, install SoX, for example with sudo apt-get install sox.
Voice mode could not find a working audio recorder in WSL Run sudo apt install sox libsox-fmt-pulse.
No speech detected, or wrong words Speak closer to the microphone, reduce background noise and check language.
Holding Space does nothing Run /voice hold. Enable OS key repeat, or use /voice tap if key repeat is off.
Voice stream error: WebSocket upgrade rejected with HTTP 4xx Usually a stale sign-in. Run /login.

For other errors, see Claude Code's voice dictation docs.

Can Readwalk read Claude Code's replies aloud?

Readwalk for Mac reads Claude Code's replies aloud for free; Claude Code's own voice mode only handles input.

To connect Readwalk to Claude Code:

  1. Open Readwalk's menu and choose Claude Sessions › Connect to Claude Code….
  2. Switch on the session you want to hear.

When it finishes a turn, Readwalk reads Claude's messages in that session's voice, skipping tool calls and tool output. Then it chimes, listens and sends your answer to the session. There's no key to press between turns.

Readwalk uses Apple's on-device speech recognition. Choosing which session a message is about uses your own Claude Code with your sign-in, so it needs an internet connection.

With several Claude Code sessions, you talk to one controller; the others give one-line headlines in their own voices. You can use both Readwalk and Claude Code's built-in dictation.

Readwalk needs macOS 15 or later and Apple silicon. Switching sessions and typing into idle sessions use Apple's Terminal app. See the voice manual to talk to Claude Code by voice.

Frequently asked questions

Does Claude Code voice mode use tokens?

No. Transcription doesn't consume messages or tokens or count toward /usage limits.

Why does Claude Code say "Unknown command: /voice"?

It needs a Claude.ai sign-in. Run /login, remove API key environment variables or provider settings, and restart. API key, Bedrock and similar setups don't support voice mode.

Can I use Claude Code voice mode over SSH?

No. It needs a local microphone. Cloud sessions and VS Code Remote aren't supported either.

What languages does Claude Code voice mode support?

Twenty dictation languages, listed above. Set language through /config or your settings file; it also sets Claude's reply language.

Can Claude Code talk back?

Not on its own. Readwalk for Mac reads replies aloud and listens for your answer. It's free.

Hands off the keyboard.

Readwalk for Mac reads Claude Code's replies aloud and sends your spoken answer back. Free, macOS 15 or later, Apple silicon. Away from your desk, Readwalk for iPhone reads the replies and takes your answer.