Jcode Voice Input: Setup, Shortcuts and Dictation Guide

Speak a coding instruction into Jcode instead of typing it. Configure the speech-to-text key, start voice input, and use a short, specific request.

Quick controls

Ctrl + Space starts voice input. Press it again to finish and send. Use /voice when the shortcut is taken by another application. Press Esc to cancel.

1. Prepare your Jcode session

Update Jcode through your normal installation route, then open the project you want to work on. Built-in transcription uses a Nari API key, separate from your coding-model provider credentials.

In a macOS or Linux terminal, set the key for that terminal session and launch Jcode:

export NARI_API_KEY="YOUR_NARI_API_KEY"
jcode

Replace the example value with your Nari key. In PowerShell, the equivalent is:

$env:NARI_API_KEY = "YOUR_NARI_API_KEY"
jcode

When your operating system asks, allow microphone access for the terminal running Jcode. Choose the intended input device in your system sound settings.

2. Start and finish a short recording

  1. Focus the Jcode terminal.
  2. Press Ctrl + Space, or enter /voice.
  3. Watch for the recording indicator and audio meter, then speak your request.
  4. Press the shortcut again to finish. Jcode completes transcription and sends the voice prompt to the agent.
Jcode voice controls: Ctrl Space to record, slash voice command, Escape to cancel
The main voice controls at a glance.

For a first request, say:

Explain the failing test before changing any code.

In terminals that report key releases, you can also hold the voice key while speaking and release it to finish. A quick tap uses toggle mode.

3. Cancel when you want to start again

Press Esc during recording to cancel. If transcription is still in progress, Esc discards it. Start another short recording with the voice shortcut.

Voice input leaves text already typed in the composer in place. Keep the spoken request self-contained so its intended action is clear.

4. Review dictated text before sending

If you use an existing speech-to-text tool and prefer to edit its output first, send that transcript to the Jcode composer with insert mode:

jcode transcript --mode insert "Explain the failing test before changing code."

Keep the Jcode TUI open. Review filenames, model names and commands in the composer, then press Enter when ready. This route is useful when exact spelling matters.

Insert a transcript in the Jcode composer for review before sending
Insert mode puts a transcript in the composer for review.

5. Fix the setup from the message

Nari API key requested

Set NARI_API_KEY in the same terminal used to launch Jcode, then reopen the session. Your coding provider’s key serves a different purpose.

The shortcut opens an operating-system feature

Use /voice in Jcode to start recording.

The audio meter stays flat

Check the microphone device, input level and terminal permission, then repeat a short phrase.

A filename is transcribed incorrectly

Spell out the filename or insert text from your speech-to-text tool and edit it before sending.

Continue: First coding task · Command reference · Provider troubleshooting

Official Jcode documentation