Skip to main content

Prerequisites

Before installing Parakeet MLX, ensure your system meets these requirements:
  • Processor: Apple Silicon (M1, M2, M3, or later)
  • Operating System: macOS 13.0 or newer
  • RAM: 8GB minimum, 16GB recommended for larger models
  • Storage: At least 2GB free space for models and cache
  • Python Version: 3.10 or higher
Check your Python version:
python3 --version
If you need to install or upgrade Python, we recommend using Homebrew:
brew install [email protected]
The CLI requires ffmpeg for audio format conversion. Install it with Homebrew:
brew install ffmpeg
Verify the installation:
ffmpeg -version
FFmpeg is only required for the CLI tool. If you’re using Parakeet MLX as a Python library, you can skip this step.

Installation Methods

Post-Installation Setup

Model Cache Directory

By default, Parakeet MLX stores downloaded models in Hugging Face’s cache directory (~/.cache/huggingface/hub). You can customize this location:
export HF_HOME="/path/to/your/cache"
# Or more specifically:
export HF_HUB_CACHE="/path/to/your/cache/hub"
Models are typically 600MB to 1.1GB in size. Ensure you have sufficient disk space in your cache directory.

Pre-downloading Models

You can download models ahead of time to avoid delays during first use:
from parakeet_mlx import from_pretrained

# Download the default model
model = from_pretrained("mlx-community/parakeet-tdt-0.6b-v3")
print("Model downloaded and ready!")
Or using the CLI:
# The model downloads automatically on first transcription
parakeet-mlx --model mlx-community/parakeet-tdt-0.6b-v3 test.mp3

Verification

Test your installation with a quick transcription:
# Create a test audio file (requires `say` command on macOS)
say "Hello, this is a test of Parakeet MLX" -o test.aiff

# Transcribe it
parakeet-mlx test.aiff

# Check the output
cat test.srt

Upgrading

To upgrade to the latest version of Parakeet MLX:
# For CLI tool
uv tool upgrade parakeet-mlx

# For project dependency
uv add parakeet-mlx -U
Check your current version:
pip show parakeet-mlx | grep Version

Uninstallation

To remove Parakeet MLX:
# Remove CLI tool
uv tool uninstall parakeet-mlx

# Remove from project
uv remove parakeet-mlx
To also remove downloaded models:
rm -rf ~/.cache/huggingface/hub/models--mlx-community--parakeet*

Troubleshooting

If the CLI isn’t available after installation:
  1. Make sure your PATH includes pip’s bin directory:
    echo $PATH | grep -q "$(python3 -m site --user-base)/bin" || \
      echo 'export PATH="$(python3 -m site --user-base)/bin:$PATH"' >> ~/.zshrc
    source ~/.zshrc
    
  2. Try running with Python directly:
    python3 -m parakeet_mlx.cli --help
    
  3. Reinstall with the --force-reinstall flag:
    pip install --force-reinstall parakeet-mlx
    
This usually means MLX isn’t compatible with your system. Parakeet MLX requires:
  • Apple Silicon Mac (M1 or later)
  • macOS 13.0 or newer
Verify your system:
# Check processor
sysctl -n machdep.cpu.brand_string

# Check macOS version
sw_vers
If you have an Intel Mac, Parakeet MLX won’t work. Consider using alternatives like OpenAI Whisper.
If you get an error about ffmpeg when using the CLI:
# Install ffmpeg
brew install ffmpeg

# Verify it's in your PATH
which ffmpeg
If Homebrew isn’t installed:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If you encounter memory issues with large audio files or models:
  1. Use chunking for long audio:
    parakeet-mlx long_audio.mp3 --chunk-duration 120
    
  2. Enable local attention:
    parakeet-mlx long_audio.mp3 --local-attention
    
  3. Use a smaller model:
    parakeet-mlx audio.mp3 --model mlx-community/parakeet-ctc-0.6b
    
  4. Close other applications to free up memory
The first transcription will be slower because:
  1. Model download: Models are 600MB-1.1GB and download on first use
  2. MLX compilation: The first forward pass compiles optimized kernels
This is normal and only happens once. Subsequent transcriptions will be much faster.Monitor download progress:
parakeet-mlx audio.mp3 --verbose

Next Steps

Quick Start Guide

Run your first transcription in under 2 minutes

Python API Reference

Integrate Parakeet MLX into your Python applications

Build docs developers (and LLMs) love