Skip to content
omg-cliPublic

About

A Rust CLI for managing system packages and language runtimes through one interface.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Latest commit

 

History

5,761 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMG

Packages. Runtimes. Security. One command.

OMG brings system packages, language runtimes, developer tools, project tasks, and vulnerability evidence into one Rust CLI. It gives Arch, Debian, Ubuntu, Fedora, and Apple silicon macOS one consistent, security-first workflow without making you assemble a different toolchain on every machine.

CI Release License: MIT Docs

Install · Why OMG · Security · Platforms · Docs

omg search ripgrep              # one search command on every supported system
omg install ripgrep --dry-run   # inspect the package plan before changing anything
omg use node 24                 # install and select a project runtime
omg run test                    # run the task this project already defines
omg audit scan                  # fetch advisories and show vulnerability evidence

The daemon is optional for package operations and vulnerability scanning. It keeps package indexes, vulnerability results, and status snapshots warm; omg audit scan scans directly when the daemon is absent.

Why OMG

What you get
One workflow across systems Manage packages and project tasks through a common CLI on Arch, Debian, Ubuntu, Fedora, macOS, and supported Linux distributions inside WSL. Security capabilities vary by backend.
Security during the operation Verify downloads, constrain developer-tool installers, review and sandbox AUR builds, inspect produced archives, and record mutations as they happen.
The whole development environment Manage system packages, 13 language runtimes, the Pi coding harness, 54 curated developer tools, project tasks, environment records, and security evidence from one CLI.
Fast paths without a hard daemon dependency Read ALPM, APT, and RPM state in process where supported. Run omgd for warm caches and background refreshes, or leave it off.
Evidence instead of promises CI exercises real Linux guests through QEMU, preserves per-command receipts, and files detailed issues when a gate fails. Benchmark claims require comparable recorded work.

OMG is written in Rust and distributed under the MIT license. Local use needs no account, and telemetry is off by default.

More than a package-manager wrapper

OMG uses the package data and transaction boundary appropriate to each platform: direct libalpm access on Arch, APT database and libapt integration on Debian and Ubuntu, direct RPM database reads plus guarded DNF operations on Fedora, and a policy-gated Homebrew path on macOS. AUR support is implemented as its own review, dependency, sandbox, and archive-inspection pipeline.

Job Commands What OMG adds
Find and change packages search, info, why, install, remove, update, clean One interface, previews, backend-aware policy, history
Use the AUR search, install, update Source review, offline Bubblewrap builds, output inspection, attended approval for privileged content
Manage runtimes use, list, which, use --uninstall Native managers for Node.js, Python, Go, Rust, Ruby, Java, Bun, Deno, Zig, .NET, Erlang, PHP, and Swift; Pi uses the managed npm tool path
Install developer tools tool search, tool install, tool list Curated registry and ecosystem-specific install policy for npm, Python, Cargo, Go, and system packages
Run project tasks run Detects the task system the project already uses and forwards arguments
Record environment intent env capture, env check, env share, env sync Inventory, portable intent, and drift reporting without pretending to rebuild the machine
Inspect security audit scan, audit sbom, audit policy, audit verify OSV and native advisory evidence, CycloneDX output, local policy, hash-chain verification
Operate and investigate status, doctor, dash, history, rollback Health checks, terminal dashboard, transaction records, and bounded rollback

Security is part of the workflow

Security checks sit on the path to installation and activation instead of living only in a separate report.

Boundary OMG behavior
OMG releases The installer verifies the release digest and GitHub build attestation before copying binaries. Self-update replaces omg and omgd from the same verified archive.
Runtime downloads Each provider's available checksum or signature policy is applied before extraction. Staging uses bounded deadlines, async subprocesses, and symlink-safe extraction, and publishes only after validation.
Developer tools npm, Cargo, Go and Python tools review exact resolved registry versions before installation. Frozen artifacts retain their integrity checks; npm scripts require separate permission, Python accepts wheels, and Go disables automatic toolchain downloads and CGO.
Install-time risk Known vulnerabilities, malware packages, and zero-day / CISA KEV findings are screened through the OMG Advisories engine (POST /v2/packages/assess/local, with OSV fallback where needed) before installation across Arch, Debian/Ubuntu (including simulated APT transitive dependencies), Fedora, Homebrew, developer tools, and managed runtimes. Findings show advisory links and require an exact foreground-terminal acceptance. Missing coverage is disclosed as Unknown and also requires acceptance; generic --yes cannot acknowledge either risk.
AUR source Recipes and source declarations are reviewed before execution. Builds use Bubblewrap with an isolated home, a cleared environment, and no network by default.
AUR output Archive paths, links, metadata, hooks, capabilities, and setuid/setgid files are inspected. High-risk output requires explicit approval bound to the inspected archive.
Vulnerability evidence Direct and daemon-backed scans share the same inventory and scoring code. OMG preserves published CVSS or advisory severity and does not invent a numeric score when upstream provides none.
Audit history Mutations produce local records protected by a hash chain. Verification detects tampering; it does not claim an external identity or compliance certification.
Privilege changes OMG runs as the regular user and requests elevation only for the package mutation that needs it. Privileged state uses administrator-controlled paths.

Read the security model, AUR policy, and documented trust boundaries for the exact guarantees and limits.

How it fits together

flowchart LR
    User[Developer] --> CLI[omg CLI]
    CLI --> Packages[System packages]
    CLI --> Runtimes[13 language runtimes]
    CLI --> Tools[Developer tools]
    CLI --> Tasks[Project tasks]
    CLI --> Security[Vulnerability and audit engine]

    Packages --> ALPM[ALPM and AUR]
    Packages --> APT[APT and libapt]
    Packages --> DNF[RPM and DNF]
    Packages --> Brew[Homebrew]
    Security --> Advisories[OSV and native advisories]

    CLI <-->|optional local IPC| Daemon[omgd]
    Daemon --> Warm[Warm indexes and status snapshots]
Loading

omg remains the product entry point and owns direct execution. omgd keeps derived state warm and serves the same shared security engine over local Unix IPC. Stopping the daemon does not disable ordinary package operations or omg audit scan.

Install

The installer requires curl and the GitHub CLI (gh). It downloads the correct release pair, verifies its digest and build provenance, and then installs into your home directory.

curl --proto '=https' --tlsv1.2 -fsSL https://getomg.dev/install.sh -o omg-install.sh
less omg-install.sh
OMG_NO_TELEMETRY=1 OMG_SKIP_SHELL=1 bash omg-install.sh
export PATH="$HOME/.local/bin:$PATH"
omg --version

Then choose the setup you want:

omg init

In an interactive terminal, omg init asks before setting up shell integration, the optional daemon, or an initial environment record. In a non-interactive terminal it uses defaults, so review its options first. See installation for source builds, custom paths, updating, and uninstalling.

Supported platforms

Platform Package path Release status
Arch Linux x86_64 ALPM plus first-class AUR pipeline Beta (v0.2.0); broadest package-security coverage
Debian 12 / Ubuntu 24.04 x86_64 APT 6 database plus simulated APT transaction review Beta (v0.2.0)
Debian 13 / Ubuntu 26.04 x86_64 APT 7 (debian-trixie) database plus simulated APT transaction review Beta (v0.2.0); QEMU guest lifecycle continues expanding
Fedora x86_64 Direct RPM state plus DNF repository operations Beta (v0.2.0)
Apple silicon macOS Policy-gated Homebrew integration with install-time advisory review Beta (v0.2.0) on ARM64
Windows A supported Linux distribution in WSL2 No native Windows build

Published releases do not currently target Intel macOS or Linux ARM64. Backend availability also does not imply identical policy, audit, or rollback coverage; the installation matrix and security model state the differences.

Start using it

# Read-only discovery
omg --help
omg search ripgrep
omg info ripgrep
omg doctor

# Preview first, then apply
omg install ripgrep --dry-run
omg install ripgrep

# Enter a project
omg use python 3.13
omg run test

# Inspect the machine
omg audit scan
omg audit sbom                  # system-package inventory on supported Linux backends
omg history

Useful next reads:

Entry-level guides (start here if you are new to OMG or the terminal):

  • Getting started — a guided first session that assumes no prior terminal experience.
  • Quickstart — runtimes and tasks in an existing project without changing system packages.
  • Cheat sheet — everyday commands on one page.
  • Glossary — plain-language definitions of technical terms used in OMG docs.

Expert-level reference (internals, security boundaries, and operations):

AI & machine-readable documentation:

Tested like a system tool

The release gate checks more than parser acceptance. It builds backend-specific omg/omgd pairs, runs unit and integration suites, scans dependencies and workflows, exercises containers, and boots Arch, Debian, Ubuntu, and Fedora guests under QEMU. Guest inventory rows retain stdout, stderr, exit status, prerequisites, and completion receipts. Trusted main-branch failures can open detailed GitHub issues automatically so the failure remains part of the project history.

The gate is intentionally evidence-bound: a skipped command is not coverage, a retry does not erase the first failure, and a green run proves only the behavior it actually exercised. See QEMU evidence and CI security controls.

Release status

OMG is in public beta (v0.2.0). Core package, runtime, developer-tool, and install-time security workflows are live across Arch, Debian, Ubuntu, Fedora, Apple Silicon macOS, and WSL2, while command surfaces, configuration keys, and on-disk formats may still evolve as beta feedback arrives. Keep your native package tool available as a recovery path. See security and release readiness for current guarantees and limits.

Contributing

Contributions are welcome. CONTRIBUTING.md explains the coding standards, local checks, and QEMU environments.

License

MIT — see LICENSE. Copyright © 2024–2026 Olen Latham.

About

A Rust CLI for managing system packages and language runtimes through one interface.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages