PeakCut.orgUnofficial PeakCut Tools
Back to PeakCut Hub
Windows 10 / 11 Step-by-Step Guide

How to Install PeakCut on Windows (Without FFmpeg or sherpa-onnx Crashes)

Windows is the #1 platform where first-time PeakCut users hit setup errors—almost always caused by spaces in folder paths (C:\Users\Your Name\...) or a missing FFmpeg system PATH entry. Follow this clean 5-minute PowerShell checklist to avoid both.

Rule #1 on Windows: Clone into a short path like C:\peakcut

Do not clone PeakCut into OneDrive, Desktop, or a username folder with spaces or non-ASCII characters. The native sherpa-onnx C++ speech-to-text runtime and Windows 260-character path limits frequently break model loading unless both the repo and PEAKCUT_DATA live under a short path such as C:\peakcut.

Step 1: Install Python 3.11+, Git & FFmpeg via winget

Open Windows Terminal (PowerShell) and install the three required system dependencies. Close and reopen PowerShell afterward so Windows refreshes your PATH.

winget install -e --id Python.Python.3.11
winget install -e --id Git.Git
winget install -e --id Gyan.FFmpeg

# Close & reopen PowerShell, then verify:
python --version
ffmpeg -version
Step 2: Clone to C:\peakcut, Create .venv & Launch

Create a clean virtual environment, install dependencies, and start the FastAPI web UI on http://127.0.0.1:8765.

git clone https://github.com/haziqahmedqasmi/PeakCut.git C:\peakcut
cd C:\peakcut
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt

# Launch PeakCut Studio (first run downloads ~480MB sherpa-onnx model):
python -m studio.server
PeakCut 1-Click Setup & .env GeneratorVerified vs Official Repo
Synced with haziqahmedqasmi/PeakCut
PEAKCUT_PORT

No GPU needed: sherpa-onnx runs speech-to-text locally on CPU (~480MB auto-download on first boot) and FFmpeg renders 9:16 shorts locally.

# 1. Install FFmpeg (Windows PowerShell — restart terminal after install!)
winget install Gyan.FFmpeg
python --version   # Must be Python 3.10+
ffmpeg -version

# 2. Clone into a SHORT path (C:\peakcut avoids Windows path-length errors with speech libs)
git clone https://github.com/haziqahmedqasmi/PeakCut.git C:\peakcut
cd C:\peakcut

# 3. Create virtual environment & install dependencies (FastAPI, yt-dlp, sherpa-onnx)
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

# 4. Optional: Copy .env.example -> .env (or configure your API key in Web UI -> Settings > AI)
copy .env.example .env

# 5. Launch PeakCut Studio (first run downloads ~480MB local speech model automatically)
python -m studio.server

# 6. Open dashboard in browser: http://127.0.0.1:8765
Skip Python 3.10, FFmpeg PATH & yt-dlp Errors?

Paste any YouTube link and export 9:16 captioned shorts in 30 seconds directly in your browser.

Runs locally at 127.0.0.1:8765 · Zero watermark · Official docker-compose.yml ready
View Official GitHub Repo ↗

Top 3 Windows Troubleshooting Fixes

1. "Activate.ps1 cannot be loaded because running scripts is disabled"

Run once in PowerShell: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned — or launch directly with .venv\Scripts\python.exe -m studio.server.

2. "ffmpeg is not recognized" after winget install

Restart your terminal window completely. If it still fails, check where.exe ffmpeg or reboot once so Windows applies the updated system PATH.

3. Slow first startup or sherpa-onnx download stall

PeakCut downloads a ~480MB local speech-to-text model on first launch. Leave the terminal open until you see Uvicorn running on http://127.0.0.1:8765. More fixes in our Diagnostic Wizard.

Skip Windows Terminal Setup

Need Clips Today Without Debugging Python & FFmpeg?

If your Windows machine has a slower CPU or you just want vertical 9:16 clips from a YouTube link in 30 seconds, cloud clippers run GPU rendering in the browser with zero installation.