Step-by-step guide to install codehero on a Virtual Machine.
Quick Links:
- Windows users: See WSL2 Installation (recommended) or Multipass
- macOS/Linux users: See Multipass Installation (automated)
- Requirements
- Step 1: Download Ubuntu
- Step 2: Create Virtual Machine
- Step 3: Install Ubuntu
- Step 4: Install codehero
- Step 5: Access the Dashboard
- How to Find Your VM's IP Address
- Start, Stop & Delete VMs
- RAM: Minimum 4GB (8GB recommended)
- Disk: Minimum 25GB free space
- CPU: 2+ cores
- Network: Internet connection
- Go to: https://ubuntu.com/download/server
- Download Ubuntu Server 24.04 LTS
- Save the ISO file (approximately 2.5GB)
Tip: You can also use Ubuntu Desktop 24.04 if you prefer a graphical interface.
Choose your virtualization platform below:
VMware Workstation (Windows) or VMware Fusion (macOS)
- Windows: Download VMware Workstation Player (free for personal use)
- macOS: Download VMware Fusion
- Open VMware and click Create a New Virtual Machine
- Select Installer disc image file (ISO) and browse to the Ubuntu ISO
- Configure VM:
- Name:
claude-ai-developer - Disk size: 40 GB (Store as single file)
- Memory: 4096 MB (or more)
- Processors: 2
- Name:
- Click Finish to create the VM
- Start the VM and proceed to Install Ubuntu
Hyper-V is built into Windows 10/11 Pro, Enterprise, and Education editions.
- Press Windows + R, type
optionalfeaturesand press Enter - In the Windows Features window, check:
- Hyper-V (expand and check all sub-items)
- Virtual Machine Platform
- Windows Hypervisor Platform
- Click OK and wait for installation
- Restart your computer when prompted
Note: Hyper-V is not available on Windows Home edition. Use VirtualBox instead.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All- Open Hyper-V Manager (search in Start menu)
- Right-click your computer name → New → Virtual Machine
- Click Next on the wizard
- Name:
claude-ai-developer→ Next - Generation: Select Generation 2 → Next
- Memory: 4096 MB, uncheck "Dynamic Memory" → Next
- Networking: Select your network adapter (e.g., "Default Switch") → Next
- Virtual Hard Disk: Create new, 40 GB → Next
- Installation Options: Select "Install from bootable image file" and browse to Ubuntu ISO → Next
- Click Finish
Before starting the VM:
- Right-click the VM → Settings
- Go to Security → Uncheck Enable Secure Boot (important for Ubuntu)
- Go to Processor → Set Number of virtual processors to 2
- Click OK
- Right-click the VM → Connect
- Click Start
- Proceed to Install Ubuntu
VirtualBox is free and works on both Windows and macOS.
- Go to: https://www.virtualbox.org/wiki/Downloads
- Download the version for your operating system:
- Windows: "Windows hosts"
- macOS: "macOS / Intel hosts" or "macOS / ARM hosts" (for M1/M2/M3)
- Install VirtualBox with default settings
- Open VirtualBox and click New
- Configure:
- Name:
claude-ai-developer - Folder: (leave default)
- ISO Image: Browse and select the Ubuntu ISO
- Check Skip Unattended Installation
- Name:
- Click Next
- Hardware:
- Base Memory: 4096 MB
- Processors: 2
- Click Next
- Virtual Hard Disk:
- Select Create a Virtual Hard Disk Now
- Size: 40 GB
- Click Next → Finish
- Select the VM and click Settings
- Go to Network → Adapter 1
- Change "Attached to" from "NAT" to Bridged Adapter
- Select your network adapter from the dropdown
- Click OK
Why Bridged? This gives the VM its own IP address on your network, making it easy to access from your browser.
- Select the VM and click Start
- Proceed to Install Ubuntu
UTM is ideal for Apple Silicon Macs (M1/M2/M3/M4).
- Go to: https://mac.getutm.app/
- Download UTM (free from the website, paid on App Store)
- Install by dragging to Applications
For Apple Silicon Macs, you need the ARM version:
- Go to: https://ubuntu.com/download/server/arm
- Download Ubuntu Server 24.04 LTS for ARM
- Open UTM and click Create a New Virtual Machine
- Select Virtualize
- Select Linux
- Click Browse and select the Ubuntu ARM ISO
- Configure:
- Memory: 4096 MB
- CPU Cores: 2
- Click Next
- Storage: 40 GB → Next
- Shared Directory: Skip → Next
- Name:
claude-ai-developer - Click Save
- Right-click the VM → Edit
- Go to Network
- Change "Network Mode" to Bridged (Advanced)
- Click Save
- Click Play button
- Proceed to Install Ubuntu
Parallels Desktop is the easiest option for Mac but requires a paid license.
- Go to: https://www.parallels.com/products/desktop/
- Download and install Parallels Desktop
- Open Parallels and click + to create new VM
- Select Install Windows or another OS from a DVD or image file
- Click Continue
- Select Choose Manually and browse to Ubuntu ISO
- Parallels will detect Ubuntu Linux
- Configure:
- Name:
claude-ai-developer - Check Customize settings before installation
- Name:
- Click Create
- In the Configuration window:
- Hardware → CPU & Memory:
- Processors: 2
- Memory: 4096 MB
- Hardware → Hard Disk: 40 GB
- Hardware → Network:
- Source: Bridged Network → Default Adapter
- Hardware → CPU & Memory:
- Close Configuration
- Click Continue to start installation
- Proceed to Install Ubuntu
These steps are the same for all VM platforms.
- When the VM starts, you'll see the Ubuntu boot menu
- Select Try or Install Ubuntu Server and press Enter
-
Language: Select your language → Enter
-
Keyboard: Select your keyboard layout → Done
-
Type of Install: Select Ubuntu Server → Done
-
Network:
- Ubuntu should automatically detect your network
- Note the IP address shown (e.g.,
192.168.1.100) - Select Done
-
Proxy: Leave empty → Done
-
Mirror: Leave default → Done
-
Storage:
- Select Use an entire disk
- Select the virtual disk
- Select Done → Done → Continue (to confirm)
-
Profile Setup:
- Your name:
Claude Admin - Server name:
claude-server - Username:
claude - Password: Choose a password (remember it!)
- Select Done
- Your name:
-
Ubuntu Pro: Select Skip for now → Continue
-
SSH Setup:
- Check Install OpenSSH server
- Select Done
-
Featured Snaps: Don't select anything → Done
-
Wait for installation to complete (5-10 minutes)
-
When you see Installation complete!, select Reboot Now
-
When prompted to "remove installation medium", just press Enter
- Wait for the login prompt
- Enter your username:
claude - Enter your password
Now you're logged into Ubuntu. Run these commands one by one:
sudo apt update
sudo apt install -y unzip wget net-toolsifconfigLook for inet under eth0 or ens33 - that's your IP address (e.g., 192.168.1.100)
Write down this IP! You'll need it to access the dashboard.
# Switch to root
sudo su
# Enter your password when prompted
# Go to root folder
cd /root
# Download the latest release
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.5.zip
# Extract
unzip codehero-2.83.5.zip
# Enter the folder
cd codehero
# Run the installer
chmod +x setup.sh
./setup.shThe installer will:
- Install MySQL, Nginx, PHP-FPM, Python, and all dependencies
- Configure the database
- Set up the web interface
- Create system services
This takes approximately 10-15 minutes.
When finished, you'll see the access credentials on screen.
After setup completes:
/opt/codehero/scripts/install-claude-code.shFollow the prompts to authenticate with your Anthropic account.
Open a web browser on your computer (not inside the VM) and go to:
https://YOUR_VM_IP:9453
Replace YOUR_VM_IP with the IP address you noted earlier (e.g., https://192.168.1.100:9453)
- Username:
admin - Password:
admin123
Important: Change the default passwords after first login:
sudo /opt/codehero/scripts/change-passwords.sh
You'll see a security warning because of the self-signed SSL certificate. This is normal:
- Chrome: Click "Advanced" → "Proceed to site"
- Firefox: Click "Advanced" → "Accept the Risk and Continue"
- Safari: Click "Show Details" → "visit this website"
- Edge: Click "Advanced" → "Continue to site"
After installation, you need the VM's IP to access the dashboard. Here's how to find it for each platform:
From PowerShell:
wsl -d Ubuntu-24.04 --exec hostname -IFrom inside WSL:
hostname -Imultipass exec claude-dev -- hostname -IOr check the list:
multipass listInside the VM terminal:
hostname -IOr with more details:
ip addr showLook for the IP under eth0, ens33, or enp0s3 (e.g., 192.168.1.100)
The IP may change after VM restart. Always check with the commands above before accessing the dashboard.
Dashboard URL format: https://YOUR_IP:9453
| Action | Command (PowerShell) |
|---|---|
| Start | wsl -d Ubuntu-24.04 |
| Stop | wsl --terminate Ubuntu-24.04 |
| Stop all WSL | wsl --shutdown |
| Delete/Uninstall | wsl --unregister Ubuntu-24.04 |
| List distros | wsl --list --verbose |
| Action | Command |
|---|---|
| Start | multipass start claude-dev |
| Stop | multipass stop claude-dev |
| Restart | multipass restart claude-dev |
| Delete | multipass delete claude-dev |
| Delete permanently | multipass delete claude-dev --purge |
| List VMs | multipass list |
GUI:
- Start: Select VM → Click "Start"
- Stop: Machine menu → "ACPI Shutdown" or "Power Off"
- Delete: Right-click VM → "Remove" → "Delete all files"
Command line:
# Start VM
VBoxManage startvm "claude-ai-developer"
# Stop VM (graceful)
VBoxManage controlvm "claude-ai-developer" acpipowerbutton
# Stop VM (force)
VBoxManage controlvm "claude-ai-developer" poweroff
# Delete VM
VBoxManage unregistervm "claude-ai-developer" --deleteGUI:
- Start: Select VM → Click "Power On"
- Stop: VM menu → "Shut Down Guest" or "Power Off"
- Delete: Right-click VM → "Delete from Disk"
Command line (vmrun):
# Start
vmrun start "/path/to/vm.vmx"
# Stop (graceful)
vmrun stop "/path/to/vm.vmx" soft
# Stop (force)
vmrun stop "/path/to/vm.vmx" hard
# Delete
vmrun deleteVM "/path/to/vm.vmx"GUI (Hyper-V Manager):
- Start: Right-click VM → "Start"
- Stop: Right-click VM → "Shut Down" or "Turn Off"
- Delete: Right-click VM → "Delete"
PowerShell:
# Start
Start-VM -Name "claude-ai-developer"
# Stop (graceful)
Stop-VM -Name "claude-ai-developer"
# Stop (force)
Stop-VM -Name "claude-ai-developer" -Force
# Delete
Remove-VM -Name "claude-ai-developer" -Force
# Also delete virtual hard disk manually from diskGUI:
- Start: Select VM → Click Play button
- Stop: Click Stop button or VM menu → "Stop"
- Delete: Right-click VM → "Delete"
GUI:
- Start: Double-click VM or click Play
- Stop: Actions menu → "Shut Down" or "Stop"
- Delete: Right-click VM → "Remove" → "Move to Trash"
Command line (prlctl):
# Start
prlctl start "claude-ai-developer"
# Stop
prlctl stop "claude-ai-developer"
# Delete
prlctl delete "claude-ai-developer"- Check VM is running: Make sure the VM hasn't shut down
- Verify IP address: Run
ifconfiginside the VM - Check services:
sudo systemctl status codehero-web
- Check firewall:
sudo ufw status sudo ufw allow 9453
VirtualBox/VMware: Make sure network adapter is set to "Bridged"
Hyper-V: Make sure "Default Switch" is selected
- Increase RAM to 8GB
- Increase CPU cores to 4
- Enable virtualization in BIOS (VT-x / AMD-V)
- Make sure you downloaded the correct ISO (ARM for M1/M2 Macs, x64 for Intel/AMD)
- Try disabling Secure Boot in VM settings
| Platform | Best For | Free? |
|---|---|---|
| VirtualBox | Windows & Intel Mac | Yes |
| Hyper-V | Windows Pro/Enterprise | Yes (built-in) |
| VMware Player | Windows | Yes (personal use) |
| VMware Fusion | Intel Mac | Paid |
| UTM | Apple Silicon Mac | Yes |
| Parallels | Mac (easiest) | Paid |
- Read the User Guide to learn how to use the dashboard
- Create your first project
- Submit your first ticket and watch Claude work!
Need help? Open an issue at GitHub