A step-by-step guide to get OpenWhale running on Windows 10/11.
The fastest way to get started — the installer handles everything automatically:
Open PowerShell and run:
irm https://raw.githubusercontent.com/viralcode/openwhale/main/install.ps1 | iexOr if you've already downloaded the repo:
powershell -ExecutionPolicy Bypass -File install.ps1Download and double-click install.bat — or run from Command Prompt:
install.batBoth scripts will:
- ✅ Check and install Git, Node.js 22+, and pnpm via
winget - ✅ Clone the repository to
%USERPROFILE%\openwhale - ✅ Run
pnpm installand build native modules - ✅ Create your
.envconfig file - ✅ Offer to start OpenWhale immediately
Tip
Run as Administrator for automatic prerequisite installation. Without admin, it will tell you what to install manually.
| Requirement | Version | How to Get It |
|---|---|---|
| Node.js | 22+ | nodejs.org — use the Windows installer (.msi) |
| pnpm | Latest | npm install -g pnpm (after installing Node.js) |
| Git | Latest | git-scm.com — use the Windows installer |
Tip
Use Windows Terminal or PowerShell instead of the legacy Command Prompt for the best experience.
| Tool | Purpose | How to Get It |
|---|---|---|
| Python 3.10+ | Code execution tool | python.org — check "Add to PATH" during install |
| FFmpeg | Camera, screen recording, media tools | winget install ffmpeg or ffmpeg.org |
| Docker Desktop | Container management | docker.com |
| Visual Studio Build Tools | Native module compilation | npm install -g windows-build-tools or install from visualstudio.microsoft.com |
- Download the LTS installer from nodejs.org (v22 or later)
- Run the
.msiinstaller — accept the defaults - Important: Check the box for "Automatically install the necessary tools" if prompted (this installs Python and build tools)
- Verify the installation:
node -v # Should show v22.x.x or higher
npm -v # Should show 10.x.x or higher# Install pnpm globally
npm install -g pnpm
# Verify pnpm
pnpm -v
# If Git isn't installed, download from https://git-scm.com/download/win
git --version# Clone the repository
git clone https://github.com/viralcode/openwhale.git
# Navigate into the project
cd openwhale
# Install dependencies (always use pnpm, not npm!)
pnpm install
# Allow native modules to build (select all when prompted)
pnpm approve-buildsImportant
If pnpm approve-builds fails with compilation errors, you likely need Visual Studio Build Tools. Run:
npm install -g windows-build-toolsThen re-run pnpm install and pnpm approve-builds.
# Copy the example environment file
copy .env.example .envEdit .env in your preferred editor (Notepad, VS Code, etc.) and add at least one AI provider key:
ANTHROPIC_API_KEY=your-key-here
# OR
OPENAI_API_KEY=your-key-here
# OR
GOOGLE_API_KEY=your-key-hereTip
Most configuration can be done through the web dashboard after first launch — you don't need to edit .env for everything.
pnpm run devYou should see output like:
🐋 OpenWhale server running at http://localhost:7777
📊 Dashboard: http://localhost:7777/dashboard
Open your browser to http://localhost:7777/dashboard.
- Log in with the default credentials:
- Username:
admin - Password:
admin
- Username:
- Go to Settings → Providers to add your AI API keys
- Configure messaging channels and skills as needed
Warning
Change the default password immediately after first login!
| Feature | Status | Notes |
|---|---|---|
| Web Dashboard | ✅ Full support | |
| All AI Providers | ✅ Full support | |
| Shell Execution | ✅ Uses cmd.exe |
PowerShell commands work too |
| Code Execution | ✅ Python & JS | Ensure Python is in PATH |
| Browser Automation | ✅ Playwright + BrowserOS | |
| File Operations | ✅ Full support | |
| WhatsApp / Telegram / Discord / Slack | ✅ Full support | |
| Twitter/X | ✅ Full support | |
| Camera & Screenshot | ✅ Uses ffmpeg |
Requires FFmpeg in PATH |
| Screen Recording | ✅ Uses ffmpeg |
Requires FFmpeg in PATH |
| Clipboard | ✅ Uses clip.exe / powershell |
|
| Docker Tools | ✅ Full support | Requires Docker Desktop |
| Daemon (auto-start) | ✅ Uses Startup folder | pnpm run cli daemon install |
| Memory & Vector Search | ✅ Full support |
| Feature | Reason |
|---|---|
| iMessage | macOS only — requires Apple Messages.app |
| Apple Notes / Reminders | macOS only — requires AppleScript |
| Apple Shortcuts | macOS only |
| macOS Menu Bar App | macOS only — SwiftUI native app |
OpenWhale can auto-start with Windows using the Startup folder:
# Install as a startup service
pnpm run cli daemon install
# Check daemon status
pnpm run cli daemon status
# Remove from startup
pnpm run cli daemon uninstallIf you prefer running OpenWhale in Docker:
# Make sure Docker Desktop is running
# Build and start
docker-compose up -d
# Verify it's running
curl http://localhost:7777/health
# Stop
docker-compose down# Install build tools
npm install -g windows-build-tools
# Clean and reinstall
rmdir /s /q node_modules
del pnpm-lock.yaml
pnpm install
pnpm approve-buildsEnsure Python is installed and in your PATH:
python --version # Should show 3.10+If not found, reinstall Python from python.org and check "Add Python to PATH".
# Find what's using port 7777
netstat -ano | findstr :7777
# Kill the process (replace <PID> with the actual process ID)
taskkill /PID <PID> /FIf you see "running scripts is disabled on this system" when installing pnpm or running the installer:
Fix 1: Change the execution policy (recommended — run once, permanent fix):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserThen retry your command (e.g. npm install -g pnpm).
Fix 2: Bypass for current session only (no admin needed):
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
npm install -g pnpmFix 3: Skip pnpm scripts entirely — use corepack instead (built into Node 22+):
corepack enable
corepack prepare pnpm@latest --activate
pnpm -v # verify it worksFix 4: Use the batch file installer instead:
If PowerShell is giving you trouble, use install.bat instead — batch files are not affected by the execution policy:
install.batTip
The install.ps1 script tries to handle this automatically by using corepack first. If you still hit issues, apply Fix 1 above and re-run the script.
Install via winget:
winget install ffmpegOr download from ffmpeg.org, extract, and add the bin folder to your system PATH.
- Configure AI Providers — Add API keys for Claude, GPT, Gemini, etc.
- Connect Channels — Set up WhatsApp, Telegram, Discord, and more
- Explore Tools — See what OpenWhale can do out of the box
- Dashboard Guide — Learn the web interface
- Troubleshooting — More common fixes