Install Open Computer Use
masterTo set up Open Computer Use, follow these steps to install prerequisites, clone the repository, and configure your environment.
1. Install Prerequisites
Ensure you have Python 3.10+ and git installed. Use Homebrew to install poetry and ffmpeg:
brew install poetry ffmpeg2. Clone the Repository
git clone https://github.com/e2b-dev/open-computer-use/
cd open-computer-use3. Configure Environment Variables
Create a .env file in the open-computer-use directory. You must provide an E2B_API_KEY and the API keys for your chosen LLM providers.
# Required for the E2B Desktop Sandbox
E2B_API_KEY="your-e2b-api-key"
# Provider-specific keys (add only what you use in config.py)
FIREWORKS_API_KEY=...
OPENROUTER_API_KEY=...
LLAMA_API_KEY=...
GROQ_API_KEY=...
GEMINI_API_KEY=...
OPENAI_API_KEY=...
ANTHROPIC_API_KEY=...
MOONSHOT_API_KEY=...
# Required to bypass Gradio rate limits for Hugging Face Spaces
HF_TOKEN=...brew install poetry ffmpeg
git clone https://github.com/e2b-dev/open-computer-use/
cd open-computer-use