Building from Source

Build zer0 browser from source code for development or custom deployments.


πŸ“‹ Prerequisites

  • Node.js 16+

  • Git

  • Tor Expert Bundle for your platform

  • 4 GB RAM minimum


πŸš€ Quick Build

# Clone repository
git clone https://github.com/BrowserZer0/Zer0.git
cd Zer0

# Install dependencies
npm install

# Download Tor binary
# Windows: Place tor.exe in ./resources/win/Tor/
# Linux/Mac: Place tor in ./resources/lin/

# Run development mode
npm run electron-dev

# Build production
npm run build-win    # Windows
npm run build-mac    # macOS
npm run build-linux  # Linux

πŸ“ Project Structure


πŸ”§ Development


πŸ“¦ Build Scripts


πŸ› Troubleshooting

Tor not found:

Build fails:

  • Clear node_modules: rm -rf node_modules && npm install

  • Update Node: Use v16 or later

Electron won't start:

  • Check port 3000 is free

  • Try: npm run electron-dev


πŸ“š Next Steps


circle-info

Last updated