Skip to main content

Migrating from yay

This guide helps yay users transition to OMG with familiar command patterns and enhanced capabilities.

Why Migrate?

FeatureyayOMG
Search Speed200-800ms6ms (22x faster)
Runtime Management✅ Node, Python, Go, Rust, Ruby, Java, Bun
Security Scanning✅ CVE scanning, SBOM generation
Team Sync✅ Environment lockfiles
LanguageGoRust (pure, no subprocess)

Command Mapping

Package Operations

yayOMGNotes
yay -Ss <query>omg search <query>22x faster, unified results
yay -S <pkg>omg install <pkg>Security grading included
yay -R <pkg>omg remove <pkg>Same behavior
yay -Syuomg updateUpdates official + AUR
yay -Si <pkg>omg info <pkg>Richer metadata
yay -Scomg cleanClears caches
yay -Qeomg explicitList explicitly installed
yay -Syomg syncSync databases

Interactive Mode

# yay interactive search
yay <query>

# OMG equivalent
omg search <query> -i

AUR Operations

OMG handles AUR transparently:

# Search includes AUR automatically
omg search spotify

# Install from AUR (auto-detected)
omg install spotify

# Update AUR packages
omg update

Configuration Migration

yay config location

~/.config/yay/config.json

OMG config location

~/.config/omg/config.toml

New Capabilities

After migrating, you gain access to:

Runtime Management

omg use node 20
omg use python 3.12
omg list node --available

Security Scanning

omg audit
omg audit sbom --format cyclonedx

Team Sync

omg env capture
omg env share

Next Steps