System Requirements
Before installing Browser Use, verify your system meets these requirements:Python Version
Python 3.11 or higher is required
Operating Systems
macOS, Linux, Windows (including WSL)
Memory
Minimum 4GB RAM (8GB+ recommended)
Disk Space
~500MB for Browser Use + Chromium
Check Python Version
Installation Methods
Method 1: Using uv (Recommended)
uv is a fast, modern Python package manager that simplifies dependency management:1
Install uv
2
Create virtual environment
.venv directory with an isolated Python environment.3
Activate the environment
(.venv) in your terminal prompt.4
Install Browser Use
We ship updates daily! Always use the latest version for best performance and newest features.
5
Install Chromium browser
Method 2: Using pip
If you prefer traditional pip:1
Create virtual environment
2
Activate environment
3
Install Browser Use
4
Install Chromium
Method 3: Install from Source (Development)
For contributors or those who want the absolute latest code:The development installation includes testing tools, linting, and all optional dependencies.
Optional Dependencies
Browser Use has several optional feature sets you can install:CLI Features
browser-use CLI tool for fast, persistent browser automation:
Video Recording
Cloud Providers
Code Execution
CodeAgent for executing Python code:
All Features
Install everything at once:Browser Installation
Automatic Installation
The recommended way is to use the built-in installer:Using System Chrome/Chromium
You can use your system’s Chrome or Chromium installation:Docker Installation
For containerized deployments:In Docker, Browser Use automatically detects the containerized environment and disables sandboxing (
chromium_sandbox=False).Environment Configuration
API Keys Setup
Create a.env file in your project directory:
Loading Environment Variables
In your Python code:Advanced Environment Variables
Optional configuration:.env
Verification
Test your installation:verify.py
Platform-Specific Notes
macOS
On macOS, Browser Use automatically installs
pyobjc to detect screen resolution for optimal browser sizing.Linux
Install system dependencies for GUI:headless=True:
Windows
If you encounter issues:- Run terminal as Administrator
- Disable real-time protection temporarily during installation
- Add
C:\Users\YourName\.browser-useto antivirus exclusions
WSL (Windows Subsystem for Linux)
For WSL, you’ll need an X server:Updating Browser Use
We ship updates daily with bug fixes and new features.With uv:
With pip:
Check your version:
Uninstalling
Remove Browser Use:
Clean up browser data:
Troubleshooting
Module not found errors
Ensure your virtual environment is activated:Chromium fails to launch
Try reinstalling Chromium:Permission denied errors
On Linux/macOS, ensure browser binary is executable:Import takes too long
Browser Use uses lazy imports. Only imported classes are loaded:SSL/Certificate errors
For local development only:Next Steps
Quick Start Guide
Build your first agent in 5 minutes
Browser Configuration
Learn all browser customization options
Supported Models
Explore all compatible LLM providers
Examples
Browse 100+ real-world examples
Having issues? Join our Discord community where 20,000+ developers can help, or check GitHub Issues for known problems.