π Installation
Quick Installation
Choose your platform and follow the installation instructions. Servin provides enterprise-grade installer packages with embedded VM dependencies for immediate containerization capabilities.
Windows
Professional NSIS installer with embedded VM dependencies
VM Mode + QEMU/Hyper-VLinux
AppImage with embedded QEMU/KVM support
Native + VM ModemacOS
PKG installer with Virtualization.framework integration
VM Mode + HVFπ¦ Download Enterprise-Grade Installers
All platforms get complete installer packages with embedded VM dependencies:
π Download Links
- Latest Release: https://github.com/immyemperor/servin/releases/latest
- All Releases: https://github.com/immyemperor/servin/releases
π Complete Installer Packages
| Platform | Installer File | Size | Features |
|βββ-|βββββ-|ββ|βββ-|
| Windows | servin_*_windows_*_installer.exe | ~50MB+ | NSIS + VM Dependencies |
| Linux | servin_*_linux_*_appimage | ~30MB+ | AppImage + QEMU/KVM |
| macOS | servin_*_macos_*_installer.pkg | ~20MB+ | PKG + QEMU/HVF |
| Cross-Platform | servin-cross-platform-*.zip | ~150MB+ | All Platforms + VM Images |
π― Installer Features
- β Embedded VM Dependencies: QEMU, KVM, platform-specific virtualization
- β Automatic Prerequisites: Detects and configures system requirements
- β System Integration: PATH configuration, desktop shortcuts, uninstall support
- β Hardware Acceleration: Optimal VM performance configuration
- β Code Signing: Verified and trusted installation experience
- β Quality Assured: 3-tier verification (package validation, integrity testing, VM dependencies)
Platform-Specific Instructions
πͺ Windows Installation
Option 1: Using the Installer (Recommended)
- Download the latest installer:
servin-windows-amd64-installer.exeFrom: GitHub Releases
- Run as Administrator:
- Right-click the installer
- Select βRun as administratorβ
- Follow the Installation Wizard:
- Choose installation directory
- Select components to install
- Configure service options
- Launch Servin:
- VM mode initializes automatically on first run
- Use Start Menu: βServin Container Runtimeβ
- Or run
servinfrom Command Prompt/PowerShell
Whatβs Included:
- β
Servin CLI (
servin.exe) - β
Desktop GUI (
servin-gui.exe) - β
Terminal UI (
servin-tui.exe) - β VM containerization engine
- β Windows Service integration
- β Start Menu shortcuts
- β Add/Remove Programs entry
- β Automatic PATH configuration
π§ Linux Installation
Option 1: Using the Installer (Recommended)
# Download installer from GitHub Releases
wget https://github.com/immyemperor/servin/releases/latest/download/servin-linux-amd64.tar.gz
# Extract and run installer
tar -xzf servin-linux-amd64.tar.gz
cd servin-linux-amd64
sudo ./install.sh
Option 2: Manual Installation
# Download binary package from GitHub Releases
wget https://github.com/immyemperor/servin/releases/latest/download/servin-linux-amd64.tar.gz
# Extract package
tar -xzf servin-linux-amd64.tar.gz
# Move binaries to system path
sudo cp servin* /usr/local/bin/
# Create systemd service (if included)
sudo systemctl enable servin
sudo systemctl start servin
Supported Distributions:
- β Ubuntu 20.04+
- β Debian 11+
- β CentOS 8+
- β Fedora 35+
- β Arch Linux
- β openSUSE Leap 15+
π macOS Installation
Option 1: Using the Native Installer (Recommended)
# Download installer from GitHub Releases
curl -L -O https://github.com/immyemperor/servin/releases/latest/download/servin-macos-universal-installer.pkg
# Run installer (will prompt for admin password)
sudo installer -pkg servin-macos-universal-installer.pkg -target /
# Verify installation
servin version
Option 2: Manual Installation
# Download binary package from GitHub Releases
curl -L -O https://github.com/immyemperor/servin/releases/latest/download/servin-macos-universal.tar.gz
# Extract and install
tar -xzf servin-macos-universal.tar.gz
sudo cp servin* /usr/local/bin/
# Initialize VM mode
servin init --vm
Requirements:
- β macOS 10.15 (Catalina) or later
- β 4GB+ RAM (recommended for VM operations)
- β Apple Silicon or Intel Mac support
- β Virtualization.framework access
Whatβs Included:
- β Servin CLI with VM mode
- β Desktop GUI with VM management
- β Terminal UI with real-time monitoring
- β Automatic VM initialization
- β Homebrew-style installation
π Getting Started
Initial Setup
After installation, initialize your containerization environment:
Windows (VM Mode - Automatic)
# VM mode initializes automatically
servin version
servin run hello-world
macOS (VM Mode - Automatic)
# VM mode initializes automatically
servin version
servin init --vm # Optional: explicit initialization
servin run hello-world
Linux (Native Mode Default)
# Native mode (recommended)
sudo servin version
sudo servin run hello-world
# Optional: Enable VM mode
servin init --vm
servin run --vm hello-world
Verify Installation
Test your installation with these commands:
# Check version and mode
servin version
servin vm status # Shows VM mode status
# Pull and run test container
servin pull hello-world
servin run hello-world
# Launch GUI (optional)
servin gui
Building from Source
Prerequisites
Required Software
- Go 1.24+ - Latest Go version with module support
- Git - Version control for source code
- CGO enabled - Required for GUI compilation
Platform-Specific Requirements
Windows:
# Install Go
winget install GoLang.Go
# Install Git
winget install Git.Git
# Install MinGW-w64 UCRT64 (for CGO)
# Download from: https://www.mingw-w64.org/downloads/
Linux:
# Ubuntu/Debian
sudo apt update
sudo apt install golang-go git build-essential
# CentOS/RHEL/Fedora
sudo dnf install golang git gcc
# Arch Linux
sudo pacman -S go git gcc
macOS:
# Using Homebrew
brew install go git
# Using MacPorts
sudo port install go git
Build Commands
π¨ Clone and Build
# Clone repository
git clone https://github.com/immyemperor/servin.git
cd servin
# Build all components
make build # Linux/macOS
.\build.ps1 # Windows PowerShell
# Build specific components
go build -o servin main.go # CLI only
go build -o servin-desktop cmd/servin-desktop/ # TUI only
go build -o servin-gui cmd/servin-gui/ # GUI only
π― Cross-Platform Building
# Build for all platforms using the new build system
./build-all.sh # All platforms with distribution packages
# Build for specific platforms
PLATFORM=windows ./build-all.sh # Windows with ZIP and NSIS installer
PLATFORM=linux ./build-all.sh # Linux with TAR.GZ and wizard installer
PLATFORM=mac ./build-all.sh # macOS universal binary with wizard installer
# Clean previous builds
./build-all.sh --clean-all
# Using Go directly for development
GOOS=windows GOARCH=amd64 go build -o servin.exe main.go
GOOS=linux GOARCH=amd64 go build -o servin main.go
GOOS=darwin GOARCH=amd64 go build -o servin main.go
π¦ Distribution Packages
The new build system creates professional distribution packages:
# Build all distributions
./build-all.sh
# Outputs:
# - dist/servin_1.0.0_windows_amd64.zip (Windows ZIP archive)
# - dist/servin_1.0.0_windows_amd64_installer.exe (Windows NSIS installer)
# - dist/servin_1.0.0_linux_amd64.tar.gz (Linux distribution)
# - dist/servin_1.0.0_macos_universal.tar.gz (macOS universal binary)
Whatβs included in each package:
- β servin - CLI container runtime
- β servin-desktop - Terminal User Interface (TUI)
- β servin-webview - Modern WebView GUI interface
- β Wizard installers - Interactive GUI installation wizards
- β Professional icons - Multi-format icon set
- β Documentation - README, LICENSE, and usage guides
Development Build
For development and testing:
# Install in development mode
go install ./...
# Run tests
go test ./...
# Run development version
go run main.go version
# Build with debug information
go build -gcflags="all=-N -l" -o servin-debug main.go
# Test VM functionality (if available)
go run main.go vm status
Post-Installation Setup
1. Verify Installation
# Check version
servin version
# Verify VM mode status (Windows/macOS)
servin vm status
# Test basic functionality
servin daemon --dry-run
# Test basic functionality
servin info
2. Configure Environment
# Set data directory (optional)
export SERVIN_DATA_ROOT="/var/lib/servin"
# Set log level
export SERVIN_LOG_LEVEL="info"
# Add to shell profile
echo 'export SERVIN_DATA_ROOT="/var/lib/servin"' >> ~/.bashrc
3. Start Services
Linux (systemd)
# Enable and start service
sudo systemctl enable servin
sudo systemctl start servin
# Check status
sudo systemctl status servin
Windows (Service)
# Service is automatically installed and started
# Check status in Services.msc or:
sc query servin
macOS (launchd)
# Service is automatically installed
# Check status:
launchctl list | grep servin
4. Test Installation
# Pull test image
servin pull hello-world
# Run test container
servin run hello-world
# Launch GUI (if installed)
servin-gui
# Launch TUI (if installed)
servin-desktop
Verification
Basic Functionality Test
# Check daemon status
servin info
# List containers
servin ps
# List images
servin images
# Test container operations
servin run --rm alpine:latest echo "Hello, Servin!"
# Test network operations
servin network ls
# Test volume operations
servin volume ls
GUI Applications Test
# Test Terminal UI
servin-desktop
# Test Desktop GUI
servin-gui
CRI Integration Test (if enabled)
# Test CRI endpoint
crictl --runtime-endpoint unix:///var/run/servin.sock version
# List CRI pods
crictl --runtime-endpoint unix:///var/run/servin.sock pods
Troubleshooting Installation
Common Issues
Permission Errors
# Linux: Add user to servin group
sudo usermod -aG servin $USER
newgrp servin
# Windows: Run as Administrator
Path Issues
# Check if servin is in PATH
which servin # Linux/macOS
where servin # Windows
# Add to PATH if needed
export PATH=$PATH:/usr/local/bin # Linux/macOS
Service Issues
# Linux: Check service logs
sudo journalctl -u servin -f
# Check configuration
servin daemon --config-check
# Reset configuration
servin config reset
Getting Help
If you encounter issues during installation:
- Check the logs:
servin logs - Run diagnostics:
servin doctor -
Visit our troubleshooting guide: Troubleshooting
- Open an issue on GitHub: GitHub Issues
Next Steps
After successful installation:
- Configure Servin: Configuration Guide
- Try the Quick Start: Quick Start Guide
- Explore Features: Features Overview