Installation
MachinaOs can be installed using npm for development or Docker for production.Prerequisites
- Development
- Docker
- Node.js 18+
- Python 3.12+
- Git
Quick Install
- npm (Development)
- Docker (Recommended)
- Frontend:
http://localhost:3000 - Backend:
http://localhost:3010 - WhatsApp:
http://localhost:9400
Environment Configuration
Copy the example environment file:Key Settings
Frontend development server port
Backend API server port
Authentication mode:
single (first user is owner) or multi (open registration)Enable Redis cache. Set to
true for production.WebSocket URL for remote Android device connections
Full Environment Example
Verify Installation
- Open
http://localhost:3000in your browser - You should see the MachinaOs workflow editor
- Check the backend health:
curl http://localhost:3010/health
If you see the workflow canvas with the component palette, installation is complete!
Troubleshooting
Port already in use
Port already in use
Change the port in
.env:Python dependencies fail
Python dependencies fail
Create a virtual environment:
Docker containers won't start
Docker containers won't start
Check logs and rebuild:
Next Steps
Quick Start
Build your first workflow in 5 minutes