How to use Hex for voice dictation
By Flavio
Updated
Tagged: AI
Hex is Anomaly's local voice dictation app for Mac, Windows, and Linux. Hold the shortcut, speak, and the transcript pastes into the focused text field.
Hex is a local voice dictation app. Hold a shortcut, talk, and let go. It transcribes your audio right on your computer and pastes the text into whatever app you’re using.
It’s built by Anomaly, the team behind OpenCode. The source code lives on GitHub at anomalyco/hex under an MIT license, with Christopher Langton listed as the copyright holder. The OpenCode account announced the stable release on October 31, 2026 for Mac, Windows, and Linux.
Everything in this walkthrough covers Hex 3.1.2. On a Mac you hold Option, say what you mean, and release; on Windows and Linux it’s the same hold-speak-release gesture with your configured shortcut (detailed in the project README).
If you’re still comparing Mac dictation tools, check out the best AI dictation and voice to text apps for a Mac, where Hex sits alongside the other options. Here I’ll walk through installing Hex and using it day to day. First, here’s a quick overview before we jump into setup:
Install Hex
Hex ships on two channels: stable for the current release, and dev for the latest build from the dev branch, which auto-updates from the dev channel.
The commands below install the stable build from anoma.ly/hex. If you come across installer URLs under https://anoma.ly/hex/files/ in the 3.1.2 docs, they behave the same way: both scripts install the stable release when one is live on the release service, and fall back to the newest dev build otherwise. To pin a channel, set HEX_INSTALL_CHANNEL=dev to stay on dev builds or HEX_INSTALL_CHANNEL=stable to require a stable release.
macOS
Hex requires an Apple silicon Mac running macOS 15 or later. There is no Intel build.
You can download the signed DMG from the site, open it, and drag Hex.app into Applications. If you prefer Homebrew, install the same signed build with this command:
brew install --cask anomalyco/tap/hex
Open Hex from Applications to finish setup. The Homebrew cask leaves updates to Hex’s own updater, and Homebrew won’t overwrite an existing app already named Hex.app.
To check for updates manually, use Hex > Check for Updates…. If a download gets blocked on your network, every GitHub release hosts the same signed files. Tags switched format at 3.0.0: releases from 3.0.0 onward use v… tags, while versions through 2.3.1 used app-v….
If you still have the original Swift app installed, install this one manually and set it up from scratch. Settings and history don’t carry over, and you’ll want to quit the old app before dictating so the two shortcuts don’t clash.
Windows
The Windows build is in beta for Windows 10 and 11, with both x64 and ARM64 support. On x64, your CPU needs to be from 2013 or newer with AVX2 support (Intel Haswell, AMD Excavator, or later). On an older chip, Hex shows a message and quits.
You can grab the x64 or ARM64 installer directly from the download page, or run this PowerShell command:
powershell -ExecutionPolicy Bypass -Command "iwr https://anoma.ly/hex/install-windows.ps1 -OutFile install-windows.ps1; ./install-windows.ps1"
The installer doesn’t need administrator rights. It installs for your user account, adds a Start menu entry, and opens Hex right away. The first run downloads a speech model.
Since the Windows installer isn’t code-signed yet, SmartScreen may warn you before running it. Click More info, then Run anyway.
On x64 machines, Hex runs transcription on your GPU through Vulkan, so make sure you have a current NVIDIA, AMD, or Intel graphics driver installed. ARM64 machines transcribe on the CPU. Neither build needs the Visual C++ redistributable.
Linux
The Linux build is also in beta, targeting x86_64 and ARM64. An x86_64 machine needs the same AVX2 CPU support as Windows. Official builds are compiled on Ubuntu 24.04 and require glibc 2.39 or newer, which covers Ubuntu 24.04, Debian 13, Fedora 40, current Arch, and later releases.
The fastest way to install a user-local copy that updates itself is with the install script:
curl -fsSL https://anoma.ly/hex/install-linux.sh | sh
Read through the script before piping it if you want to check what it does. It runs without root, verifies the signed release feed, file size, and SHA-256 checksum, drops hex into ~/.local/bin, adds a desktop launcher, and can start at login.
That hex binary doubles as a CLI for controlling the running app. If Hex isn’t running, hex status prints hex: Hex is not running; run hex start and exits with code 3. The CLI never opens your microphone on its own.
If you’d rather use system packages, Debian and Ubuntu have .deb builds while Fedora and openSUSE have .rpm builds. Here’s the x64 Debian command:
curl -fLo /tmp/hex.deb https://anoma.ly/hex/download/linux-x64-deb && sudo apt install /tmp/hex.deb
On ARM64, use linux-arm64-deb. On Fedora, download linux-x64-rpm or linux-arm64-rpm and run sudo dnf install on the downloaded file (on openSUSE, pass the same .rpm to zypper install). There’s no apt or dnf repository yet. When a new stable release comes out, Settings displays the command to install the updated package, since Hex won’t replace a package-installed binary on its own.
On Arch, you can install from the AUR once the channel is stable:
yay -S hex-bin
Make sure you grab hex-bin, which tracks the 3.1.2 Linux binaries. Don’t mix it up with the official hex package, which is a hex dump tool that installs hx.
For Nix, install it with the flake command:
nix profile install github:anomalyco/hex
The flake packages Hex for x86_64-linux (see the Nix guide for details). In-app updates don’t touch a Nix install, so update your flake input and rebuild when you want a newer version. Its Wayland setup doesn’t cover GNOME and KDE, which are handled by the standard Linux shortcut options below.
Hex downloads a speech model on first launch, or you can fetch one manually with hex model install once hex is on your PATH.
Permissions
macOS
During setup, Hex asks for Microphone access so it can record while you talk, and Accessibility access so it can catch your shortcut in any app and paste into the active window. For Accessibility, drag the Hex tile into the list. You don’t need Input Monitoring.
If you use Annotate, macOS asks for Screen Recording the first time you start it. Nothing is recorded before that.
Changing permissions can require quitting Hex and reopening it. The current bundle ID is anomaly.hex. If you ever ran releases through 2.3.1, your Mac may still have old com.kitlangton.hex2 entries pointing to the previous app. Remove those old rows and grant Microphone and Accessibility again for the new build.
Windows
Windows doesn’t require extra privacy setup steps. Hex only uses the microphone while you’re dictating, and your global shortcut works across apps as soon as Settings shows Enabled. (If SmartScreen warns you during install, use the More info and Run anyway step from the install section above.)
Linux
Linux has no system-wide microphone approval dialog like macOS Accessibility. Audio runs through ALSA, including PipeWire with ALSA compatibility. Even when transcription falls back to the CPU, the app window still needs a Vulkan driver; vulkan-icd-loader alone isn’t enough.
Shortcuts are the main permission piece to watch on Linux. On X11, Hex grabs the shortcut directly. On Wayland desktops that support the GlobalShortcuts portal, including GNOME and KDE, the desktop itself grants, reassigns, or refuses the shortcut, and Settings lists the result under Desktop shortcuts.
How pasting works depends on your compositor. On wlroots compositors, Hex uses wtype and the virtual keyboard protocol. On KDE and GNOME, it goes through the RemoteDesktop portal, which prompts you to allow remote control the first time you paste. Install wl-clipboard either way so that if automatic pasting fails, the transcript stays on your clipboard for Ctrl+V.
Don’t add your user to the input group to get shortcuts working. That was the old 2.3.1 Wayland approach. Current builds use the portal or a keybinding that runs hex.
The hold-to-talk shortcut
The default shortcut varies by platform:
| System | Default | What hold does |
|---|---|---|
| Mac | Option | Hold Option, speak, release. Hex pastes into the focused app. |
| Windows | Ctrl+Space | Hold both keys, speak, release Space. |
| Linux | Alt+Space | Hold Alt+Space, speak, release. |
| GNOME, new setups | Ctrl+Alt+Space | GNOME reserves Alt+Space for the window menu, so Hex uses this instead. |
Escape never cancels dictation on any platform, so every recording finishes and pastes.
On a Mac, double-tap Option to keep recording hands-free, then press Option again to finish. Any tap under 300 ms gets ignored. Press Option-Shift-V to paste your last completed dictation again.
On Windows, Hold mode is the default, though you can switch to Toggle mode in Settings (press Ctrl+Space to start, press it again to stop). In Hold mode, tapping the shortcut twice within 300 ms locks recording on until you press it again. Ctrl+Alt+V pastes the last dictation, and holding a modifier key by itself does nothing. Hex consumes Ctrl+Space while the chord matches so other apps won’t see it, so rebind it if you need that shortcut elsewhere. Under Advanced, Share dictation shortcut with other apps lets the foreground app see the keystroke too, which can also fire that app’s own binding.
On Linux, double-tap the shortcut to lock recording on, then press the same chord again to finish, or switch to Toggle mode for single-press start and stop. Double-tap only waits for two full taps before recording starts. Ctrl+Alt+V pastes your last dictation.
Hyprland accepts the portal shortcut without assigning a key to it, so nothing happens until you add a binding in your Hyprland config. Sway and other Wayland setups without the portal need the same kind of binding. Here’s how to bind hold-to-talk to F9:
bindsym F9 exec hex dictation start
bindsym --release F9 exec hex dictation stop
GNOME 46 and older, including Ubuntu 24.04, don’t support the shortcuts portal. Settings can write custom keyboard shortcuts for you that run hex dictation toggle, hex paste-last, and, if Annotate is turned on, hex annotate toggle. Because those custom shortcuts fire on key press only, dictation runs in toggle mode.
You can change the shortcut, microphone, language, and model anytime in Settings. On a Mac, the Transcription Model menu bar item lets you switch between downloaded models without opening Settings.
Models and settings
The first time you run Hex, it downloads a speech model. Once that’s on your machine, regular dictation works offline. Models come from Hugging Face and its CDN, while app updates come from anoma.ly.
On an English system, Hex 3.1.2 starts you on Parakeet Unified English. You can switch models anytime, and each one remembers the language you used with it last. If you dictate in two languages, you can keep Parakeet on English and Whisper on French and flip between them from the menu bar.
Here are the built-in models in the 3.1.2 catalog. Coverage is what Hex lists for each model, and streaming means it can transcribe on a GPU while you’re still holding the shortcut.
| Model | Coverage in the catalog | Streams |
|---|---|---|
| Parakeet Unified English | English | Yes |
| Parakeet v2 | English | No |
| Parakeet v3 | 25 languages | No |
| Whisper large-v3-turbo | 100 languages | No |
| Qwen3-ASR 0.6B | 30 languages | No |
| QwenCleo-ASR 1.7B | Egyptian Arabic, with English terms | No |
| ivrit.ai Whisper large-v3-turbo | Hebrew | No |
| SenseVoice Small | Chinese, Cantonese, English, Japanese, Korean | No |
| Cohere Transcribe | 14 languages | No |
| Underdog Bark 3.0 Pro | English | No |
| Underdog Bark 3.0 Clean | English, without filler words | No |
| Parakeet Ultra | 25 languages | No |
| Nemotron 3.5 ASR | 27 languages | Yes |
| Apple Speech | System locales | No |
A couple of models have extra conditions. Parakeet Ultra sits behind its own toggle in Labs, and Apple Speech only works on macOS (it’s disabled on Windows and Linux).
When you run Parakeet Unified English on a GPU, Hex streams your audio into the model as you hold the key down, using Metal on macOS and Vulkan on Windows x64 and Linux. By the time you let go, it only has to wrap up the last second or two. On Windows ARM64 and other CPU-only machines, it waits until you release and transcribes the whole clip at once. Nemotron 3.5 ASR is the other streaming model in the catalog, and if a stream ever fails, Hex falls back to transcribing the full recording.
You’re not locked into the built-in list either. You can point Hex at a local GGUF file or a speech model already sitting in your Hugging Face cache. The catalog models are pinned and tested by Hex, while anything you load yourself gets flagged as untested. Supported architectures are Parakeet, Whisper, Qwen3-ASR, Cohere, and SenseVoice, with F32, F16, or Q8_0 tensors.
In Settings you can tweak recording behavior, feedback volume, launch at login, and Dock visibility on macOS. Modes let you add spelling corrections for names before the text pastes, along with optional rewriting and text transformations scoped to a specific app or website.
At the bottom of the sidebar, Labs holds experimental features that stay off until you switch them on. You can inspect the active flags in a running instance with hex labs list.
Custom transformations live in ~/.config/hex/hex.config.ts. Hex executes that file inside an embedded engine with no access to the filesystem, network, or processes. Run hex commands init to generate a starter file, and hex commands check to see what Hex registered.
Dictate a prompt to a coding agent
Hex has no idea you’re talking to a coding agent. It pastes into whichever text field has focus, whether that’s Cursor chat, a terminal TUI, or a plain form input.
Click the prompt box, hold your shortcut, speak one task, and let go. Before you hit Enter, read over the text and clean up any mangled file paths or product names.
Give the agent the task, the boundaries, and how you plan to verify the result. File paths like src/pages/reading-list.astro are usually faster and safer to type by hand.
If you want a concrete before-and-after, the voice to text guide shows a spoken prompt next to the cleaned-up version you want on screen before submitting.
Don’t dictate API tokens, passwords, or anything from .env. Even though transcription stays local, the pasted text still lands in your prompt, and your coding agent can send that prompt straight to a hosted model.
OpenCode
Regular dictation doesn’t need OpenCode, and Hex will never start it for you. The optional rewrite step talks to an OpenCode service that’s already running, and if it can’t find one, Hex tells you OpenCode isn’t running.
Turn on the OpenCode step inside Modes when you want a rewrite pass before pasting. With that enabled, Hex sends the transcript, the active app name, and (when you’re in Brave) the website hostname to your configured model provider. Website-aware modes currently require Brave. If the rewrite fails, Hex keeps your corrected local transcript and still runs any text transformations you configured.
On macOS, you can filter saved transcripts from the terminal with the history command:
/Applications/Hex.app/Contents/MacOS/hex history --since 3d --app 'OpenCode Beta' --grep problems --json
Hex needs to be running for that query to work, and it won’t activate your microphone.
Claude Code, Codex and Cursor
Claude Code, the ChatGPT desktop app, and Cursor all ship with their own dictation features, and the voice to text guide covers how each one works. Hex works alongside them by pasting into whichever prompt is focused using the same Option shortcut on a Mac, so it won’t collide with Claude Code’s Space, Cursor’s Command-Shift-Space, or Cursor’s Control-M in the Agents Window.
Reach for Hex when you want a single shortcut across your editor, terminal, and chat apps. Use an app’s built-in microphone when you’re already inside it and prefer its transcription. If you’re dictating into a terminal, make sure the terminal window has focus and your cursor is sitting in the prompt.
How I would use it
My advice is to keep the setup minimal at first. Stick with Parakeet Unified English for English and leave OpenCode rewriting turned off. Dictate one task at a time, then type any file path the transcript missed. And don’t aim it at a chat box that auto-sends on Enter until you’ve read the line it pasted.
Privacy
Speech transcription runs locally on your machine, so ordinary dictation doesn’t touch OpenCode or any cloud transcription service.
Hex doesn’t save dictation audio by default. History keeps successfully pasted text for seven days, storing the local transcript, the final pasted text, and basic app and timing metadata. It doesn’t save audio files, full browser URLs, or window titles. History caps out at 10,000 entries and 16 MiB of raw plus final text, dropping the oldest items first.
You can stop Hex from saving new entries with History > Keep: Off, and wipe existing ones with Clear all. Turning history off won’t erase old entries on its own, and it doesn’t disable diagnostic logs.
If you need audio for debugging, setting the HEX_RETAIN_DICTATION_AUDIO environment variable tells Hex to keep a bounded number of WAV files locally. Local logs can also contain transcript text, recognized command speech, foreground app names, and Brave URLs, though Hex never uploads them.
When you turn on OpenCode features, Hex sends the transcript and app or hostname context to your configured model provider. Model downloads and app updates also use the network. Here’s how data moves between your machine and external services:
Tips
Stick to one task per recording, because rambling sentences turn into rambling prompts.
Pause between sentences if you want separate lines. Saying “new line” won’t insert a break out of the box in 3.1.0 and later, since spoken formatting (including “new line” and “new paragraph”) moved into Labs and stays off until you enable it. Check Settings › Labs on your build before counting on it.
Teach Hex the names and jargon it keeps getting wrong. You can add them under Modes corrections, or manage your custom list from the terminal with hex vocabulary to list, add, and remove terms while Hex is running.
On Linux, use a dedicated microphone if you wear Bluetooth earbuds. Recording from the headset switches it into hands-free mode and wrecks the audio quality, so use your laptop mic or a USB mic for input and keep the earbuds for output only.
Ignore Annotate until you have a use for it. It’s enabled by default on macOS (Option-Shift-S) and Linux (F9), and isn’t on Windows yet. While Annotate is recording, the regular dictation shortcut won’t respond.
If you manage updates yourself, you can turn off automatic update checks by setting DisableUpdates in the anomaly.hex preference domain on macOS, or a DisableUpdates DWORD under HKLM\SOFTWARE\Policies\Anomaly\Hex or HKCU on Windows.
Troubleshooting
Here are the most common snags and what to check first:
| Symptom | Check |
|---|---|
| Hex appears to disappear | Open Hex from its menu-bar hexagon. If the status item couldn’t start, Hex keeps its Dock icon visible. |
| The shortcut does nothing | Open Hex and check Microphone and Accessibility permissions. |
| Recording works but text doesn’t paste | Check Accessibility permissions. |
| Transcription doesn’t start | Make sure the selected local model is installed. |
| OpenCode features fail | Check your separate OpenCode installation and model provider. |
| Website context doesn’t match | Website-aware modes currently require Brave Browser. |
On Linux, when the shortcut does nothing, the desktop environment is usually the culprit rather than the microphone. GNOME may reject Alt+Space and fall back to Ctrl+Alt+Space, Hyprland needs a bind in your config, and KDE can hang onto an older binding after you record a new one. Check Settings to see which shortcut the portal granted.
If text never pastes on Linux, check wl-clipboard and wtype, or the RemoteDesktop permission on KDE and GNOME. Your transcript should still be sitting on the clipboard.
Running hex devices lists your ALSA inputs. On a machine without a real microphone, it can print a dummy device name instead of a headset, which is just the system’s device name rather than a Hex error.
Diagnostic logs live in these folders:
- macOS:
~/Library/Application Support/hex/logs/ - Windows:
%APPDATA%\hex\logs\ - Linux:
~/.local/share/hex/logs/, or underXDG_DATA_HOME
On Windows, Discord can show “Playing HEX: Shards of Fate” while Hex is running because it matches hex.exe to that game. Hide it under Discord’s Settings › Registered Games or turn off activity sharing. Hex keeps working either way.
If you run into a bug, open a report with your version, operating system, and steps to reproduce using the issue template on the GitHub repository. Strip any private transcripts and logs before attaching them.
Hex and the other dictation apps
Hex runs on Apple silicon Macs with macOS 15 or newer, Windows 10 and 11, and Linux. Your audio stays on the machine unless you enable OpenCode rewriting, which sends the transcript to your model provider. It’s free and MIT licensed.
For Superwhisper, MacWhisper, Wispr Flow, macOS Dictation, and the rest, including prices and where your audio goes, check the AI dictation app comparison. Handy, which that guide uses as the daily local app, is the closest cousin to Hex: also free, local, and cross-platform.
FAQ
What is Hex?
Hex is a desktop dictation app from Anomaly. You hold a shortcut, speak, and it pastes the transcript right into whatever app is focused. This guide covers the 3.1.2 stable release.
Is Hex free?
Yes. Hex is MIT licensed on GitHub, so you can use it without a license fee or a subscription.
Does Hex work on Linux and Windows?
Yes, both have beta builds alongside the Apple silicon Mac app. Windows builds support Windows 10 and 11 on x64 and ARM64, while Linux builds cover x86_64 and ARM64 with glibc 2.39 or later. There’s no build for Intel Macs.
Does Hex send my voice to the cloud?
No, speech transcription runs locally on your machine, and ordinary dictation audio isn’t saved by default. Hex only uses the network for the initial model download and later app updates. If you turn on OpenCode rewriting, though, that sends the transcript to whichever model provider you configured.
What is the Hex keyboard shortcut?
By default, you hold Option on a Mac, Ctrl+Space on Windows, or Alt+Space on Linux (or Ctrl+Alt+Space on a new GNOME setup). You can change the shortcut in Settings if you prefer something else.
Can I dictate into Claude Code, Codex, or Cursor?
Yes, whenever their prompt field is focused. Hex pastes text wherever your cursor sits, so it doesn’t replace Claude Code’s /voice, Codex Dictate, or Cursor’s microphone button. Those are separate controls, and you can read more about them in the voice to text guide.
Want me to talk about your product? You can sponsor this site.
Related posts about ai: