Step 1: Retrieve Your Daytona API Key
- Visit the Daytona Dashboard.
- Click “Create Key”.
- Enter a name for your key and confirm the creation.
- Once the key is generated, copy it.
Step 2: Set Your API Key as an Environment Variable
Run the following command in your terminal, replacing<your-api-key>
with the actual key you copied:
Mac/Linux:
Windows PowerShell:
Step 3: Run OpenHands Locally Using Docker
To start the latest version of OpenHands on your machine, execute the following command in your terminal:Mac/Linux:
Windows:
What This Command Does:
- Downloads the latest OpenHands release script.
- Runs the script in an interactive Bash session.
- Automatically pulls and runs the OpenHands container using Docker.