Getting Started
Detailed Environment Setup
In-depth setup instructions, binary linking, and troubleshooting common environment snags.
This guide covers complete dependency setup for macOS, Python model caching, and Web Studio linking.
1. System Requirements
- Architecture: Apple Silicon (ARM64). Intel Macs are not supported due to PyTorch unified memory and Apple VideoToolbox hardware acceleration requirements.
- macOS: macOS Sonoma (14.x) or Sequoia (15.x) recommended.
- Disk Space: ~5 GB for Python packages (PyTorch, Kokoro weights, spaCy) and Chromium headless shells.
2. Toolchain Installation
Homebrew Packages
brew install git gh ffmpeg uv node@24
brew link --overwrite --force node@24Bun Runtime
Bun is our primary package manager and runtime across both root Remotion and the Web Studio:
curl -fsSL https://bun.sh/install | bashXcode Command Line Tools
Required for native C-extensions in Python and node modules:
xcode-select --install3. Python Virtual Environment
We recommend managing the virtual environment with uv for 10x faster installation:
# Create virtual environment with Python 3.11 or 3.12
uv venv --python 3.12 .venv
# Install requirements into the active environment
uv pip install --python .venv/bin/python -r requirements.txt4. Audio Models Pre-caching
While models will auto-download on their first run, you can pre-fetch them manually:
Kokoro 82M Neural Voice Model (~330 MB)
.venv/bin/python -c "from huggingface_hub import snapshot_download; snapshot_download('hexgrad/Kokoro-82M')"spaCy English Alignment Model
.venv/bin/python -m spacy download en_core_web_sm5. Automated Diagnostics
Run the ./vlab doctor command at any point to verify your configuration:
./vlab doctorIf any check reports FAIL, ./vlab doctor outputs the exact command required to fix it.