The MacWhisper CLI: install mw, transcribe from Terminal, and every flag

MacWhisper ships with a command line tool called mw. It drives the app from Terminal: transcribe files and whole folders, detect speakers, write subtitles or JSON, and list or switch models. It talks to the running MacWhisper app over a local socket, so it uses the engines, models and settings you already set up, and it launches the app if it is not open.

I built YapToText, a different Mac app for dictation and file transcription, so read what I say about MacWhisper with that in mind. Every fact about MacWhisper here comes from its help article MacWhisper Command-Line Tool, read on October 10, 2026.

Download YapToText on the Mac App StoreThis app is completely free. You don't have to make an account. There are no subscriptions, no difficult downloads, and nothing is locked. Made for Apple silicon Macs. Source on GitHub.

Install mw

  1. Open MacWhisper, then Settings, then Advanced.
  2. Under Command-Line Tool, click Install.
  3. Enter your Mac password if macOS asks. It is needed to write into /usr/local/bin.
  4. Open a new Terminal window and run mw version.

The tool lands at /usr/local/bin/mw, and the settings pane shows a green checkmark when it is done. If mw version prints a version number, it works. To remove it, return to the same pane and click Uninstall.

Transcribe a file

mw transcribe ~/Desktop/meeting.m4a
mw transcribe meeting.m4a > transcript.txt
mw transcribe meeting.m4a -o transcript.txt
mw transcribe meeting.m4a | pbcopy

What happens: The transcript prints to standard output. A progress line goes to standard error, so a redirected file holds only the transcript.

By default a command line transcription is not kept. It is printed and discarded, and appears in MacWhisper's history only if you add --persist. Ctrl+C stops a run. An existing output file is never replaced unless you add --overwrite.

The commands

From MacWhisper's help article, read October 10, 2026. Add --help to any command for its options.

CommandWhat it does
mwA status overview: whether the app is reachable, the selected model, downloaded models, and example commands
mw versionPrints the MacWhisper version. Useful as a connection check
mw models listLists your installed transcription models, with an ID for each
mw models selectChanges the active model, in the command line tool and in the app
mw transcribeTranscribes audio or video files, or whole folders, and prints the text

Flags for mw transcribe

From the same article. A language the chosen model cannot transcribe fails with an error.

FlagWhat it does
--speakers, --no-speakersTurns speaker detection on or off for this run. With it on, the transcript is grouped by speaker
--formattxt, the default, or srt, vtt, json, csv, md, html or avid
--styletranscript, subtitles or segments, the same styles as the app's Export panel
--modelUses one model for this run without changing the app's selection
--languageAn ISO code such as en or de, or auto, or multilingual
--output, -oWrites the transcript to a file
--output-dirBatch mode. Writes one transcript per input into a folder
--recursiveIncludes subfolders when you pass a folder
--streamPrints segments as they are finished. Local engines only
--persistKeeps the transcription in MacWhisper's history
--timestamps, --milliseconds, --group, --max-chars-per-line, --fpsFine-tune the layout

Formats, and which need Pro

From the same article. The MacWhisper pricing page covers what Pro costs.

FormatWhat you getLicense
txtPlain textEveryone
srtSubRip subtitlesEveryone
vttWebVTT subtitlesEveryone
csvRows of start, end and transcript, plus speaker when detectedEveryone
jsonMillisecond timestamps, speakers per segment, and word timingsPro
mdMarkdown with timestamped blocks and speaker headingsPro
htmlA standalone HTML documentPro
avidAvid subtitle text with SMPTE timecodesPro

Whole folders

mw transcribe ~/Recordings --recursive --output-dir ~/Transcripts
mw transcribe ~/Videos --output-dir ~/Subs --format srt
mw transcribe interview.m4a --speakers -o interview.txt

What happens: Each input gets its own file, named after it, and the folder structure is mirrored. A file that fails is reported and skipped, and the run continues.

Speaker detection needs a model that supports it. The speaker recognition page covers that side of the app.

When it does not work

  • mw: command not found. Open a new Terminal window, or add /usr/local/bin to your PATH.
  • It hangs. Quit and reopen MacWhisper, then try mw version.
  • A model ID is not recognized. Run mw models list for the exact IDs, and download the model in the app first.
  • A Pro error on a format. json, md, html and avid need a Pro license.
  • A sandbox error. A sandboxed program, including some AI coding tools, can be blocked from MacWhisper's socket. Run mw directly in Terminal.

The MacWhisper troubleshooting page covers the app itself.

Free routes from Terminal

YapToText has no command line tool. It transcribes a file you drop on it, one at a time, to plain text, free. If you want Terminal and nothing to buy, whisper.cpp is open source and is the engine YapToText is built on. The local Whisper guide has the commands, and the open source transcription page compares four free tools.

Download YapToText on the Mac App StoreThis app is completely free. You don't have to make an account. There are no subscriptions, no difficult downloads, and nothing is locked. Made for Apple silicon Macs. Source on GitHub.

The short version

  • Install. Settings, Advanced, Command-Line Tool, Install.
  • Run. mw transcribe, then a file or a folder.
  • Free formats. txt, srt, vtt and csv.
  • Pro formats. json, md, html and avid.
  • History. Nothing is kept unless you add --persist.

If MacWhisper changes the tool and this page falls behind, open an issue on GitHub. Every one gets read.

Download YapToText on the Mac App StoreThis app is completely free. You don't have to make an account. There are no subscriptions, no difficult downloads, and nothing is locked. Made for Apple silicon Macs. Source on GitHub.

About the author. Ryleigh Newman is a developer whose hands make typing difficult and who dictates every day with YapToText, the app this site describes. Facts about other apps come from their own sites, with the date they were read. More about the project.

Sources

Questions

Does MacWhisper have a command line tool?

Yes. It is called mw, and you install it from MacWhisper's Settings, under Advanced, Command-Line Tool.

How do I transcribe a file with MacWhisper from Terminal?

Run mw transcribe followed by the file path. The transcript prints to standard output, or to a file with -o.

Is the MacWhisper CLI free?

Its help article says txt, srt, vtt and csv output are available to everyone, and that json, md, html and avid need a Pro license.

Can the MacWhisper CLI transcribe a whole folder?

Yes. Pass a folder to mw transcribe, add --recursive for subfolders, and --output-dir to write one transcript per file.

Does mw need MacWhisper to be open?

It talks to the running app, and launches MacWhisper automatically if it is not open.