Prerequisites
Before installing StreamVault, ensure you have the following dependencies installed:Node.js v18+
Node.js v18+
Required for: Frontend development and build processDownload from nodejs.org or install via package manager:Verify installation:
Rust (latest stable)
Rust (latest stable)
Required for: Backend compilation and Tauri frameworkInstall Rust using rustup:After installation, restart your terminal and verify:
The Rust installer will add
~/.cargo/bin to your PATH automatically. You may need to restart your terminal for changes to take effect.MPV Media Player
MPV Media Player
Required for: Video playback functionalityStreamVault uses MPV for all media playback. Install it for your platform:
- Windows
- macOS
- Linux
Option 1: Direct download (recommended)
- Download MPV from mpv.io
- Or use pre-built Windows binaries from SourceForge
- Extract to a permanent location (e.g.,
C:\Program Files\mpv\) - Add the MPV directory to your system PATH:
- Open System Properties → Environment Variables
- Under System variables, select Path → Edit
- Click New and add the path to mpv.exe (e.g.,
C:\Program Files\mpv) - Click OK to save
Clone the repository
Install dependencies
Install all Node.js dependencies using npm:This will install:
- React 18 and React DOM
- TypeScript and type definitions
- Vite build tooling
- Tauri CLI and API bindings
- UI libraries (Radix UI, Framer Motion, Lucide icons)
- TailwindCSS and styling utilities
Development setup
Configure environment (optional)
If you’re self-hosting the backend, create a And set Tauri-side environment variables before building:
.env file in the project root:.env
For most users, the default backend (
https://streamvault-backend-server.onrender.com) will work out of the box. See self-hosting guide for custom backend setup.Run in development mode
Start both the Vite dev server and Tauri application:This command:
- Starts the Vite dev server on
http://localhost:3000 - Compiles the Rust backend
- Launches the Tauri window with hot-reload enabled
- Watches for file changes in both frontend and backend code
Production build
Sync version numbers
StreamVault automatically syncs version numbers between Or bump the version and sync:
package.json and src-tauri/Cargo.toml:Build the application
Create a production build with platform-specific installers:This command:
- Builds the optimized frontend bundle with Vite
- Compiles the Rust backend in release mode
- Creates platform-specific installers and executables
- Generates update manifests for auto-updates
Locate build artifacts
After building, find your application in:
- Executable:
src-tauri/target/release/streamvault.exe(Windows) orstreamvault(macOS/Linux) - Installers:
src-tauri/target/release/bundle/- Windows:
.msiinstaller and.exeportable - macOS:
.dmgdisk image and.appbundle - Linux:
.deb,.AppImage, or.rpmpackages
- Windows:
MPV configuration
StreamVault will automatically detect MPV in the following locations:Windows auto-detection paths
Windows auto-detection paths
- System PATH (via
where mpv.exe) C:\Program Files\mpv\mpv.exeC:\Program Files (x86)\mpv\mpv.exeC:\Program Files\mpv.net\mpv.exe- Scoop installations:
C:\Users\*\scoop\apps\mpv\current\mpv.exe - Chocolatey:
C:\ProgramData\chocolatey\bin\mpv.exe - Portable installations in common locations
- User profile:
C:\Users\*\AppData\Local\Programs\mpv\mpv.exe
The application performs a deep search in
C:\Program Files, C:\, and D:\ directories up to 3 levels deep.Troubleshooting
Rust compilation errors
Rust compilation errors
Error:
Error:
error: linking with 'link.exe' failed (Windows)Solution: Install Visual Studio Build Tools- Download Visual Studio Build Tools
- Install “Desktop development with C++” workload
- Restart your terminal and try again
Error:
error: could not compile 'tauri'Solution: Update Rust toolchainNode.js version mismatch
Node.js version mismatch
Error: Download the latest LTS from nodejs.org or use a version manager like nvm.
engine 'node' is incompatibleSolution: Upgrade Node.js to v18 or higherMPV not found
MPV not found
Error: “MPV player not found” when trying to play mediaSolution 1: Add MPV to system PATH
- Locate your
mpv.exeinstallation - Add the directory to your system PATH environment variable
- Restart StreamVault
- Open StreamVault Settings
- Navigate to Player settings
- Click Browse and select
mpv.exe - Save and try playing media again
Build artifacts not found
Build artifacts not found
Error: Can’t find built applicationSolution: Check build outputLook for error messages in the build output. Common issues:
- Insufficient disk space
- Antivirus blocking compilation
- Missing system dependencies
Next steps
Quickstart guide
Complete the onboarding and scan your first library
Configuration
Customize settings and configure integrations
Google Drive setup
Connect your Google Drive for cloud media indexing
TMDB setup
Get your TMDB API key for metadata fetching
Need help? Check the troubleshooting guide or open an issue on GitHub.