Skip to main content

OMG Documentation

The Complete Guide to the Fastest Unified Package Manager

Welcome to the official OMG documentation. This comprehensive guide covers everything from basic usage to advanced enterprise features, performance tuning, and security hardening.


🎯 Documentation Overview

OMG is a next-generation package manager that unifies system packages (Arch Linux, Debian/Ubuntu) with language runtime management (Node.js, Python, Go, Rust, Ruby, Java, Bun) into a single, blazing-fast binary. This documentation is organized into progressive sections, from getting started to deep technical internals.


📖 Table of Contents

Getting Started

GuideDescription
Quick StartInstallation and first commands in 5 minutes
CLI ReferenceComplete command reference with examples
ConfigurationConfiguration files, paths, and customization

Core Features

GuideDescription
Package ManagementSearch, install, update, remove packages
Runtime ManagementManaging Node.js, Python, Go, Rust, Ruby, Java, Bun
Shell IntegrationHooks, completions, and PATH management
Task RunnerUnified task execution across ecosystems

Advanced Features

GuideDescription
Security & ComplianceVulnerability scanning, SBOM, secrets, audit logs
Team CollaborationEnvironment lockfiles, drift detection, team sync
Container SupportDocker/Podman integration
TUI DashboardInteractive terminal dashboard
History & RollbackTransaction history and system rollback

Architecture & Internals

GuideDescription
Architecture OverviewSystem design and component overview
Daemon InternalsBackground service, IPC, and state management
Caching SystemIn-memory and persistent caching
IPC ProtocolBinary protocol for CLI-daemon communication
Package SearchSearch indexing and ranking algorithms
CLI InternalsCLI implementation details

Reference

GuideDescription
WorkflowsCommon workflows and recipes
TroubleshootingCommon issues and solutions
FAQFrequently asked questions
ChangelogVersion history and release notes

🚀 Why OMG?

Performance That Matters

OMG achieves 22x faster searches than pacman and 59-483x faster than apt-cache through:

  • Zero subprocess overhead — Direct library integration with libalpm and rust-apt
  • Persistent daemon — In-memory package index with instant lookups
  • Pure Rust implementation — No Python, no shell scripts, just raw speed
  • Smart caching — moka (in-memory) + redb (persistent) caching layers
OperationOMGpacmanSpeedup
Search6ms133ms22x
Info6.5ms138ms21x
Explicit list1.2ms14ms12x

Unified Experience

Stop juggling multiple tools:

  • pacman + yay + nvm + pyenv + rustup + rbenv + sdkman
  • ✅ Just omg

Enterprise-Grade Security

Built-in security features that would cost thousands in enterprise tools:

  • Vulnerability scanning (ALSA + OSV.dev)
  • CycloneDX 1.5 SBOM generation
  • PGP signature verification (Sequoia-OpenPGP)
  • SLSA provenance verification via Sigstore
  • Secret scanning with 20+ credential patterns
  • Tamper-proof audit logging

🏗️ Architecture at a Glance

┌─────────────────────────────────────────────────────────────────┐
│ OMG CLI (omg) │
│ ┌─────────┬──────────┬──────────┬──────────┬────────────────┐ │
│ │ Package │ Runtime │ Security │ Task │ TUI Dashboard │ │
│ │ Mgmt │ Mgmt │ Audit │ Runner │ │ │
│ └────┬────┴────┬─────┴────┬─────┴────┬─────┴───────┬────────┘ │
│ │ │ │ │ │ │
│ └─────────┴──────────┴──────────┴─────────────┘ │
│ │ Unix Socket IPC │
└─────────────────────────┼───────────────────────────────────────┘

┌─────────────────────────┼───────────────────────────────────────┐
│ ▼ │
│ OMG Daemon (omgd) │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ Package Index │ moka Cache │ redb Persistence │ Workers │ │
│ └─────────────────────────────────────────────────────────┘ │
│ │
│ ┌──────────────┬──────────────┬──────────────────────────┐ │
│ │ libalpm │ rust-apt │ AUR Client │ │
│ │ (Arch) │ (Debian) │ (HTTP API) │ │
│ └──────────────┴──────────────┴──────────────────────────┘ │
└──────────────────────────────────────────────────────────────────┘

🎓 Learning Path

For New Users

  1. Quick Start — Install OMG and run your first commands
  2. CLI Reference — Learn all available commands
  3. Shell Integration — Set up shell hooks and completions
  4. Workflows — Common patterns and recipes

For Power Users

  1. Runtime Management — Master multi-runtime environments
  2. Task Runner — Unified task execution
  3. Team Collaboration — Share environments with teammates
  4. TUI Dashboard — Real-time system monitoring

For Enterprise/DevOps

  1. Security & Compliance — SBOM, vulnerability scanning, audit logs
  2. Container Support — CI/CD and container integration
  3. Daemon Internals — Deployment and scaling considerations
  4. Configuration — Policy enforcement and customization

For Contributors

  1. Architecture Overview — System design
  2. CLI Internals — Command implementation
  3. Daemon Internals — Background service details
  4. IPC Protocol — Binary protocol specification

📞 Support & Community


📄 License

OMG is licensed under AGPL-3.0-or-later. See the LICENSE file for details.

Commercial licenses are available for organizations that cannot comply with AGPL requirements. Contact us for details.


Next Steps: Quick Start Guide →