Complete step-by-step instructions for building and installing HyprBrowser on Windows, Linux, and macOS using Tauri.
- System Requirements
- Windows Installation
- Linux Installation
- macOS Installation
- Building from Source
- Troubleshooting
- Rust: 1.70 or newer (Install)
- RAM: 2GB
- Disk Space: 1GB (for build artifacts)
- Internet: For downloading dependencies
Windows 10+
- WebView2 Runtime (Install)
Linux (Ubuntu/Debian/Fedora)
- GTK 3.0+ development libraries
- WebKit runtime
macOS 10.15+
- Xcode Command Line Tools
- WKWebView (included in macOS)
# Download and run installer from https://rustup.rs/
# Or use:
Invoke-WebRequest -Uri https://win.rustup.rs -OutFile rustup.exe
.\rustup.exeVerify installation:
rustc --version
cargo --versionDownload from: https://developer.microsoft.com/en-us/microsoft-edge/webview2/
Or install via package manager:
winget install Microsoft.WebView2Runtimegit clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser# Release build (optimized)
.\build.ps1 release
# Or debug build
.\build.ps1 debug
# Or build and run
.\build.ps1 runOutput: target/release/hyprbrowser.exe (3MB optimized binary)
cargo install --path .
### Fedora/RHEL
```bash
# 1. Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
# 2. Install dependencies
sudo dnf groupinstall "Development Tools"
sudo dnf install -y \
openssl-devel \
pkg-config \
alsa-lib-devel \
vulkan-devel
# 3. Clone and build
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
cargo run --release
# 1. Install Rust and dependencies
sudo pacman -S rust cargo base-devel
# 2. Install build dependencies
sudo pacman -S openssl pkg-config alsa-lib vulkan-intel
# 3. Clone and build
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
cargo run --release# 1. Enable WSL2 and install Ubuntu
wsl --install -d Ubuntu
# 2. In WSL terminal:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
# 3. Install dependencies
sudo apt update && sudo apt install -y build-essential pkg-config libssl-dev
# 4. Clone and build
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
cargo run --release# 1. Install Rust (choose MSVC toolchain)
# Download from: https://www.rust-lang.org/tools/install
# 2. Install Visual Studio Build Tools (if not present)
# Download from: https://visualstudio.microsoft.com/downloads/
# Select: Desktop development with C++
# 3. Install Git
# Download from: https://git-scm.com/download/win
# 4. Clone repository
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
# 5. Build and run
cargo run --release
# 6. Executable location: .\dist\hyprbrowser.exeIf you get GPU errors, try:
# Use Vulkan backend (if installed)
$env:WGPU_BACKEND="vulkan"
cargo run --release
# Or use DirectX 12 (default)
$env:WGPU_BACKEND="dx12"
cargo run --release
# Or software rendering (slow)
$env:WGPU_BACKEND="cpu"
cargo run --release# 1. Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
# 2. Install Xcode Command Line Tools
xcode-select --install
# 3. Install OpenSSL (if needed)
brew install openssl pkg-config
# 4. Clone and build
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
cargo run --release
# 5. Create app bundle (optional)
./scripts/create-macos-app.sh
# Creates: HyprBrowser.app# Same as Intel, but Rust will auto-detect ARM64
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
# Install dependencies
brew install openssl pkg-config
# Build (will compile for ARM64 automatically)
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
cargo run --release# Clone
git clone https://github.com/pro-grammer-SD/hyprbrowser
cd hyprbrowser
# Build (debug mode - faster to compile, slower to run)
cargo build
# Run
./target/debug/hyprbrowser
# Or run directly
cargo run# Build (release mode - optimized for speed)
cargo build --release
# Run
./target/release/hyprbrowser
# Or run directly
cargo run --release
# Copy to dist/
cargo build --release
cp target/release/hyprbrowser dist/# Build with all features
cargo build --release --all-features
# Build with specific features
cargo build --release --features "wgpu,debug"
# Build with logging
RUST_LOG=debug cargo run --release
# Build with optimizations
RUSTFLAGS="-C opt-level=3 -C lto=fat -C codegen-units=1" cargo build --release-
First Run
- HyprBrowser will create necessary directories
- Default data folder:
~/.local/share/hyprbrowser/(Linux) or%APPDATA%/hyprbrowser/(Windows)
-
Create Desktop Shortcut (optional)
Linux:
mkdir -p ~/.local/share/applications cat > ~/.local/share/applications/hyprbrowser.desktop << EOF [Desktop Entry] Name=HyprBrowser Exec=$HOME/.cargo/bin/hyprbrowser Type=Application Categories=Internet; EOF
Windows:
- Right-click dist/hyprbrowser.exe → Send to → Desktop (create shortcut)
-
Add to PATH (optional)
Linux/macOS:
cargo install --path . # Then: hyprbrowser
Windows:
- Add
C:\Users\YourUsername\AppData\Local\Cargo\binto PATH in Environment Variables
- Add
- Browser window appears
- Sidebar icons visible
- Can navigate to Google
- Can create new tab (Shift+T)
- Can open quick search (Shift+Tab)
- Preferences panel opens (Workflow button)
Error: error: ld returned 1 exit status
Solution (Linux):
sudo apt install libssl-dev pkg-config
cargo clean
cargo build --releaseError: cargo: command not found
Solution:
source $HOME/.cargo/env
# Or add to ~/.bashrc or ~/.zshrc:
export PATH="$HOME/.cargo/bin:$PATH"Error: wgpu: No suitable GPU found
Solution:
# Update GPU drivers first, then try:
WGPU_BACKEND=vulkan cargo run --release # Linux
WGPU_BACKEND=dx12 cargo run --release # Windows
WGPU_BACKEND=metal cargo run --release # macOSError: EGL not found (Linux)
Solution:
sudo apt install libegl1-mesa-dev libgles2-mesa-dev libxkbcommon-devError: Cannot allocate memory during build
Solution:
# Build with fewer threads
cargo build --release -j 2
# Or pre-allocate swap (Linux)
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfileError: State not found warning
Solution: Normal on first run. HyprBrowser creates state automatically.
Error: Data directory permission denied
Solution:
# Linux
chmod -R 755 ~/.local/share/hyprbrowser/
# Windows - Run as Administrator-
Slow startup: Clean build cache
cargo clean cargo build --release
-
Low FPS: Check GPU drivers and try different backend
-
High memory: Close unused modules and tabs
If you encounter issues:
-
Check existing GitHub Issues
-
Create a new issue with:
- OS and version
- Rust version (
rustc --version) - Full error message
- Steps to reproduce
-
Join GitHub Discussions
- Customize: Edit theme in Workflow Panel
- Install Modules: Go to Modules Panel and search for extensions
- Set Up: Adjust keybindings and permissions
- Optimize: Enable adblock (Shift+B) for faster browsing
Installation Complete! 🎉
Start browsing with HyprBrowser:
# From project directory:
cargo run --release
# Or if installed globally:
hyprbrowser