Package management and curated installs
Omarchy uses a shared package layer for direct package changes and for higher-level install commands. The layer keeps package state consistent, while curated commands add the setup, defaults, services, or launch actions that make a package ready for use. Package manifests also define which packages the ISO builder must keep available. This page belongs to Packages, apps, and optional services.
Package lifecycle
Package state
Package state checks determine whether all requested packages are present or whether any are missing. The add flow uses this state to avoid needless work and verifies the result after the package transaction. The remove flow accepts only exact installed package names, which prevents a missing name or a provider name from causing an unintended removal.
References: bin/omarchy-pkg-present• L1-10 bin/omarchy-pkg-missing• L1-12 bin/omarchy-pkg-add• L1-24 bin/omarchy-pkg-drop• L1-35
Package changes
The normal add and drop commands provide the shared contract for package changes. Add uses the Arch package manager with a non-interactive policy and supports root and user calls. Drop removes only installed packages and also removes unused dependencies. Interactive commands expose the same actions through package selectors when the exact name is not known.
The package change flow is shared by direct commands and category installers.
flowchart TD
A[Package request] --> B{Package source}
B -->|Arch repository| C[Select or pass package names]
B -->|AUR| D[Check access and select or pass names]
C --> E[Check installed state]
D --> E
E --> F[Install missing packages]
F --> G[Verify installed state]
G --> H[Apply category setup or launch app]
A --> I[Remove request]
I --> J[Keep exact installed names]
J --> K[Remove packages and unused dependencies]
The interactive Arch flow shows repository packages and their details before a multi-package install. The AUR flow also shows package information and the build recipe before yay installs the selected names. The interactive remove flow selects explicit installed packages and sends them to the normal removal transaction.
References: bin/omarchy-pkg-install• L1-26 bin/omarchy-pkg-aur-install• L1-30 bin/omarchy-pkg-remove• L1-24
Package sources
Arch package source
Arch repository packages are the default source for shared package adds and for the core manifest. Category commands can request package names without owning transaction details. This keeps presence checks and result checks consistent across apps, services, editors, and gaming tools.
References: bin/omarchy-pkg-add• L1-24 install/omarchy-base.packages• L1-179
AUR package source
The Arch User Repository (AUR) supplies packages outside the normal repository set. The AUR add flow uses yay, skips packages that are already present, and checks the local package database after installation. A separate availability check lets update work skip network-dependent AUR work when the service cannot be reached.
References: bin/omarchy-pkg-aur-add• L1-18 bin/omarchy-pkg-aur-install• L1-30 bin/omarchy-pkg-aur-accessible• L1-6 bin/omarchy-update-aur-pkgs• L1-21
Package manifests
Core manifest
The core manifest is the main package set installed by the ISO. It also feeds the ISO builder's offline mirror, so each entry is both a system need and a package that must be available during image creation. Platform manifests extend or trim this set when a target needs different build or hardware support.
References: install/omarchy-base.packages• L1-179
Platform manifests
Platform manifests add packages after the core set or exclude packages that are not usable on a target architecture. omarchy-pkg-defaults composes the core list with the common aarch64 list and the selected platform list, removes duplicates, and excludes x86_64-only names from aarch64 output.
The common aarch64 set adds zram and PipeWire support. Apple Silicon adds Mac boot and hardware support. Qualcomm adds firmware, image build, graphics, and camera support. N1x adds its kernel, NVIDIA, container, and hardware-probe support. GB10 adds NVIDIA, container, network, and profiling support. The x86_64-only manifest is currently empty, but its exclusion step remains part of the platform contract.
References: bin/omarchy-pkg-defaults• L9-53 install/omarchy-aarch64.packages• L1-9 install/omarchy-aarch64-apple.packages• L1-26 install/omarchy-aarch64-qualcomm.packages• L1-17 install/omarchy-aarch64-n1x.packages• L1-14 install/omarchy-aarch64-gb10.packages• L1-14 install/omarchy-x86_64-only.packages• L1-2
Additional manifest
The additional manifest keeps packages available in the ISO when they are outside the main install or are optional at run time. It covers system and boot support, graphics, audio, camera, encoding, and device support. Its device groups include Surface, Dell, Acer, HP, ASUS, Qualcomm, T2 MacBook, Framework 16, Raspberry Pi, Samsung Galaxy Book, and Elgato Cam Link hardware.
The hardware entries support both system enablement and device-specific features. They include firmware, kernel modules, camera relays, audio tuning, graphics drivers, and virtual-camera support. The manifest also keeps generic Vulkan drivers, Intel encoding support, speaker tuning tools, and related hardware packages available for hardware-aware setup.
References: install/omarchy-other.packages• L1-123
Preinstalled application set
Preinstalls provide a user-level opt-out for a selected part of the core experience. Removing them deletes related apps, wrappers, tool stubs, and selected desktop packages, records the opt-out state, and preserves user-managed launchers. Restoring them recreates the shipped entries, re-enables Omarchy's default mise tools and shims, reinstalls the selected packages, and clears the marker only after the package step succeeds. The add and remove sets must stay equal and must remain a subset of the core manifest.
References: bin/omarchy-install-preinstalls• L1-41 bin/omarchy-remove-preinstalls• L1-56 test/…/preinstalls-test.sh• L45-93
Curated install commands
Generic application installs
Generic application commands wrap the shared package add path with a common user flow. They show progress in a floating terminal and can launch the application after a successful install. The wrapper changes the user experience without changing the package contract.
References: bin/omarchy-install-app• L1-24 bin/omarchy-install-and-launch• L1-27
Category installs
Category commands turn an approved package or package group into a usable Omarchy feature. They first acquire the package, then apply the defaults, service state, runtime setup, or launch action required by that category. Some categories use the AUR, while others install language tools, frameworks, containers, or official vendor installers outside the normal package transaction.
| Category | Main purpose | Example flow |
|---|---|---|
| Browsers | Install a supported browser and apply its policy, flags, theme, or Wayland settings | Chromium and Firefox use repositories. Chrome, Edge, Brave, Brave Origin, and Zen use the AUR. Bundled browser extensions can also be installed or checked. |
| Editors | Install an editor and connect it to Omarchy defaults | VS Code applies storage, update, and theme settings. Emacs uses the Omarchy AUR package and setup. |
| Terminals | Install an approved terminal and make it the default choice | The command installs the terminal, adds needed desktop state, and updates terminal priority. |
| Gaming | Install a game client or compatibility stack with hardware-aware graphics support | Steam installs matching 32-bit graphics support. Battle.net uses umu-launcher and GE-Proton. Lutris installs a Wine-based stack and opens setup. |
| Development environments | Install a language or framework toolchain | The command uses mise for many runtimes and adds framework or system tools. It selects declared defaults or user tools as needed. |
| Databases | Start a local development database | The command starts a supported database in a restartable Docker container with its local port and image setup. |
| AI and services | Install an app or service and connect its supporting integration | ChatGPT and Claude launch after install. Dropbox adds its bar plugin. T3 Code, Herdr, and Hermes complete their own app and runtime setup. |
| Dictation | Install speech-to-text software and connect it to dictation controls | Superwhisper aligns shortcuts. Voxtype and Hex add their models and user services before selecting the active backend. |
The package step does not define readiness on its own. A category feature is ready only after its required defaults, theme, service, model, runtime, or first launch completes. Development environments extend this rule with language and framework tools. Databases use Docker because the database runs as a local container. Dictation uses the same boundary: its model, service, and active backend must agree. Broader dictation behavior is covered in Dictation backends and lifecycle. Agent-facing app relationships are covered in AI agent integrations.
Some installers use a different acquisition boundary. Herdr uses its official self-updating installer, then opens the app and applies the current palette. T3 Code selects Stable or Nightly, installs the desktop app and command, applies the published palette, and removes older package variants only after the new app is ready. It can leave opening the new app to the user during a migration. Hermes installs the desktop package when needed, prepares its app-owned runtime and command, seeds the matching app, and applies the current theme.
References: bin/omarchy-install-browser• L45-115 bin/omarchy-install-browser-extensions• L1-154 bin/omarchy-install-editor-vscode• L1-29 bin/omarchy-install-editor-emacs• L1-9 bin/omarchy-install-terminal• L1-52 bin/omarchy-install-gaming-steam• L8-23 bin/omarchy-install-gaming-battlenet• L12-90 bin/omarchy-install-gaming-lutris• L1-25 bin/omarchy-install-dev-env• L14-143 bin/omarchy-install-docker-dbs• L6-28 bin/omarchy-install-ai-chatgpt• L1-15 bin/omarchy-install-ai-claude• L1-15 bin/omarchy-install-service-dropbox• L1-14 bin/omarchy-install-dictation-superwhisper• L1-40 bin/omarchy-install-dictation-voxtype• L1-36 bin/omarchy-install-dictation-hex• L1-16 bin/omarchy-install-ai-t3-code• L47-96 bin/omarchy-install-t3code-app• L10-115 bin/omarchy-install-hermes-cli• L337-556 bin/omarchy-install-ai-hermes• L13-20 bin/omarchy-install-ai-herdr• L1-49
Curated removal flows
Curated removal commands reverse the setup that made an optional feature usable. They stop services or remove integrations before package removal, while shared dependencies and user-owned data remain when another part of the system still needs them. Development environment removal also clears the selected runtime and global tool link.
Launcher removal chooses cleanup from the desktop entry. Web apps and terminal tools use their own helpers. It can remove user-owned entries directly or route packaged and Flatpak entries to an uninstall terminal. ChatGPT stops its running app before package removal and clears its app-owned configuration and cache while leaving the separate Codex CLI runtime. Hex disables its service and clears only the active backend marker while leaving models and history in the user's data directory.
References: bin/omarchy-remove-dev-env• L12-130 bin/omarchy-remove-ai-amp• L1-23 bin/omarchy-remove-ai-chatgpt• L1-21 bin/omarchy-remove-dictation-hex• L1-18 bin/omarchy-remove-dictation-superwhisper• L1-40 bin/omarchy-remove-dictation-voxtype• L1-28 bin/omarchy-remove-launcher-entry• L63-110 bin/omarchy-remove-service-dropbox• L6-16
Hardware-aware installs
Some curated commands choose packages from detected hardware instead of a fixed list. The gaming graphics helper does nothing on aarch64 because its native Steam client does not need x86_64 multilib packages. On x86_64 it detects Intel, AMD, and NVIDIA hardware and adds matching 32-bit graphics support. The video-decode installer enables Chromium hardware decoding only on Qualcomm aarch64 systems and leaves other systems unchanged.
Steam, Battle.net, and Lutris run the gaming helper before package resolution or Windows game setup. This order prevents dependency resolution from selecting an NVIDIA provider on hardware without NVIDIA support.
References: bin/omarchy-install-gaming-gpu-lib32• L1-36 bin/omarchy-install-gaming-steam• L8-23 bin/omarchy-install-gaming-battlenet• L12-17 bin/omarchy-install-gaming-lutris• L8-25 bin/omarchy-install-video-decode• L1-43
Change checklist
When these files or sections are changed, remember to consider these:
- Keep add and AUR-add result checks aligned with the package names accepted by their package managers.
- Keep interactive package selectors consistent with the source used by the matching non-interactive add path.
- When changing a preinstall package, update both preinstall commands and keep the name in
install/omarchy-base.packages. - When changing preinstall cleanup, preserve user-managed launchers while removing only Omarchy-owned wrappers and tool state.
- When changing a category install, preserve the order between package acquisition and its defaults, service start, model setup, or first launch.
- When changing dictation install or removal, keep the active backend marker aligned with service state, shortcut setup, and model readiness.
- When changing service install or removal, keep bar plugins, desktop overrides, theme state, and running processes in sync.
- When changing launcher removal, preserve routing from desktop entry type to the matching web app, TUI, service, package, or Flatpak cleanup path.
- When changing a development environment choice, preserve the branch between declared default tools and user-selected global tools.
- When changing a manifest, check both its ISO package source and its offline mirror purpose.
- When changing an architecture or platform manifest, check composition order, platform aliases, and the aarch64 exclusion step in
omarchy-pkg-defaults. - When adding a platform manifest, use the same platform name for hardware setup and default package output.
- When changing AUR update behavior, keep availability as the gate for network-dependent AUR work.
- When changing browser extension setup, keep browser policy, flag entries, and native messaging host permissions aligned for each supported browser.
- When changing a database choice, keep its container name, local port, image, and development credentials aligned.
- When changing T3 Code setup, keep Stable and Nightly replacement ordered after the new app is installed and themed.
- When changing hardware video setup, keep the Qualcomm-only guard and both Chromium flag files aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A requested package is absent after the package manager reports success | A caller continues with an incomplete feature | Add and AUR add verify every requested package in the local package database. |
| The AUR service is unavailable during an AUR update | AUR updates cannot complete | The update path checks availability and skips the update with a notice. |
| A preinstall restore fails before its package step completes | Launchers or tools can return while the opt-out marker remains | Restore clears the marker only after the package step succeeds. |
| A preinstall name is not in the core manifest | Remove and restore can change a package Omarchy did not ship | The preinstall test requires every selected name to be shipped. |
| A category package installs but follow-up setup does not run | The app exists without its intended default, theme, service, or launch state | Category commands keep setup and launch after a successful package step. |
| A service integration is removed while its process or desktop override remains | The app keeps running or launches through stale Omarchy state | Service removal stops the process and cleans integration state. |
| A launcher entry is backed by a special web app, TUI, or service | Generic package removal leaves feature state behind | Launcher removal routes special entries to dedicated cleanup commands. |
| A platform manifest adds a package without a usable target build | Image creation or first package install fails | omarchy-pkg-defaults composes selected platform lists and excludes x86_64-only names from aarch64. |
| Hardware-specific graphics setup runs after gaming package resolution | Pacman can choose an NVIDIA provider on hardware without NVIDIA support | Gaming flows run the detected graphics helper first. |
| Browser extensions are copied without matching policy, flags, or host permissions | Extensions do not load or cannot reach their native helpers | The extension flow checks all browser-specific integration points before reporting current state. |
| A database container uses a port or name already in use | The selected local database does not start | Each supported database has a fixed local port and container identity that must remain unique. |
| T3 Code's old package is removed before its replacement is ready | A migration can leave no working T3 Code app | The flow removes old package variants only after install and theme setup succeed. |
| Qualcomm video flags are applied on an unsupported machine | Chromium behavior changes without a matching decoder | The video setup runs only after the Qualcomm aarch64 hardware check. |
Key files
| File | Why to read it |
|---|---|
bin/omarchy-pkg-add | Shared Arch package add contract for curated installers. |
bin/omarchy-pkg-drop | Exact-name package removal contract. |
bin/omarchy-pkg-install | Interactive Arch repository package selection flow. |
bin/omarchy-pkg-aur-install | Interactive AUR package selection flow. |
bin/omarchy-pkg-aur-add | Non-interactive AUR package add contract. |
bin/omarchy-pkg-aur-accessible | Network gate used before AUR work. |
bin/omarchy-pkg-defaults | Platform-aware package composition for an image or machine. |
install/omarchy-base.packages | Core package set shipped and mirrored by the ISO. |
install/omarchy-other.packages | Additional package availability set for hardware and optional support. |
install/omarchy-aarch64.packages | Common aarch64 package additions. |
install/omarchy-aarch64-apple.packages | Apple Silicon package additions. |
install/omarchy-aarch64-qualcomm.packages | Qualcomm platform package additions. |
install/omarchy-aarch64-n1x.packages | N1x platform package additions. |
install/omarchy-aarch64-gb10.packages | GB10 platform package additions. |
install/omarchy-x86_64-only.packages | Packages excluded from aarch64 images. |
bin/omarchy-install-preinstalls | Restore flow for selected shipped applications and Omarchy-owned tools. |
bin/omarchy-remove-preinstalls | Opt-out flow that removes selected packages and Omarchy-owned launchers. |
bin/omarchy-install-browser | Category flow that combines repository and AUR choices with setup. |
bin/omarchy-install-browser-extensions | Browser-specific extension policy, flags, and native host setup. |
bin/omarchy-install-dev-env | Category flow that combines packages with runtime and framework tools. |
bin/omarchy-install-docker-dbs | Local database container install flow. |
bin/omarchy-install-gaming-gpu-lib32 | Hardware-based graphics package selection. |
bin/omarchy-install-video-decode | Qualcomm-only Chromium hardware decoding setup. |
bin/omarchy-install-dictation-voxtype | Dictation flow that combines package, model, and user-service setup. |
bin/omarchy-install-hermes-cli | Hermes runtime, command, migration, and readiness flow. |
bin/omarchy-install-ai-t3-code | T3 Code channel selection, theme, migration, and launch flow. |
bin/omarchy-install-ai-herdr | Official installer, first launch, and theme flow for Herdr. |
bin/omarchy-remove-ai-chatgpt | ChatGPT process, package, and app-data removal flow. |
bin/omarchy-remove-launcher-entry | Launcher-aware routing to app, service, package, or Flatpak removal. |