Mobazha Native Install
v0.1.0Install the Mobazha native binary on Linux, macOS, or Windows. Use when the user wants to run a store without Docker.
Like a lobster shell, security has layers — review code before you run it.
Native Binary Installation
Install Mobazha as a single native binary — no Docker, no runtime dependencies. Works on Linux (x86_64 & ARM64), macOS (Apple Silicon & Intel), and Windows.
Official guide: https://mobazha.org/self-host (Native Binary tab) and https://mobazha.org/download
Quick Install
Linux & macOS
curl -sSL https://get.mobazha.org/install | bash
This downloads the mobazha binary (and the mobazha-launcher for auto-update) to ~/.local/bin/ and starts the store as a background service.
Windows
- Go to https://mobazha.org/download
- Download the
.zipfile for Windows - Extract the archive
- Double-click
mobazha-tray.exeto start
The Windows desktop app includes a system tray icon and auto-opens your browser to the store admin.
What the Installer Does
- Detects your OS and architecture (linux/darwin, amd64/arm64)
- Downloads the matching binary from GitHub Releases
- Verifies the SHA-256 checksum
- Places binaries in
~/.local/bin/(or custom--dir) - Downloads the launcher binary (crash recovery + auto-update) if available
- Registers and starts as a background service (unless
--no-startis passed)
After install, the store is accessible at http://localhost:5102 (or http://<public-ip>:5102 for VPS).
Running Your Store
Foreground mode
mobazha start
The store API and Web UI are served on port 5102 by default: http://localhost:5102.
Background service (recommended)
The installer registers a service automatically. Manage it with:
mobazha service status # Check if running
mobazha service stop # Stop the service
mobazha service start # Start the service
mobazha service install # Re-install / re-register the service
mobazha service uninstall # Remove the service
On Linux this uses systemd (user-mode when possible), on macOS it uses launchd.
With a custom domain
The native binary itself does not include a reverse proxy. To use a custom domain with HTTPS, deploy via the standalone Docker setup instead (see standalone-setup skill), or manually configure a reverse proxy (Caddy, Nginx) in front of port 5102.
Install Options
| Flag | Description |
|---|---|
--version <tag> | Install a specific version (e.g., v0.3.0-beta.15) |
--dir <path> | Custom install directory (default: ~/.local/bin) |
--no-start | Download only, don't register or start the service |
Backup
mobazha backup -o ~/mobazha-backup.tar.gz
Uninstall
Remove the binary and service (keeps your store data):
curl -sSL https://get.mobazha.org/install | bash -s -- --uninstall
Remove everything including data:
curl -sSL https://get.mobazha.org/install | bash -s -- --uninstall --purge
Platform Notes
macOS
- Installs via
curl | bash, which bypasses Gatekeeper (no Apple Developer signing required) - The launcher registers as a launchd LaunchAgent for auto-start on login
- Supports both Apple Silicon (arm64) and Intel (amd64)
Linux ARM64
- Works on Raspberry Pi 4+ and ARM VPS instances
- Same install command — the script auto-detects architecture
Running Behind NAT
- No port forwarding needed for basic operation
- Your store stays reachable via the Mobazha P2P network
- For a direct public URL, use the standalone Docker setup with a domain, or enable Tor overlay
After Installation
- Open
http://localhost:5102/admin(orhttp://<your-ip>:5102/adminfor VPS) - Complete the Setup Wizard — set admin password, store name, visibility, region/currency (see
store-onboardingskill for the full walkthrough) - Add products and start selling
- (Optional) Connect your AI agent to the store via MCP — see
store-mcp-connectskill
Troubleshooting
Binary not found after install
Ensure ~/.local/bin is in your PATH:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
Permission denied
The installer needs write access to the install directory. Use --dir to specify a writable location, or run with appropriate permissions.
macOS "unverified developer" warning
This shouldn't happen with curl | bash install. If running a downloaded binary directly, use:
xattr -d com.apple.quarantine ./mobazha
Check service logs
# Linux
journalctl --user -u mobazha -f
# macOS
tail -f ~/Library/Logs/Mobazha/mobazha.log
Comments
Loading comments...
