Realms are named environments in the IX store — each realm is itself a package (stored underDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pg83/ix/llms.txt
Use this file to discover all available pages before exploring further.
/ix/store/) containing symbolic links to all the packages installed into it. The ix mut command is the primary way to add packages to a realm, remove them, apply per-package or per-realm flags, and rebuild a realm with the latest available versions of its packages. An anchor symlink in /ix/realm/ always points to the current store entry for each realm, making it easy to put a realm on your PATH.
Installing Packages
Pass a realm name followed by one or more package identifiers toix mut. Package names use the namespace/name format (e.g. bin/sway, bin/epiphany).
When no realm name is given,
ix mut defaults to the realm whose name matches your current username (detected via getpass.getuser()).Removing Packages
Prefix a package name with- to remove it from a realm. You can combine removals and additions in a single command — IX processes them atomically as a single realm mutation.
+, though that is the default when no prefix is given.
Per-Realm and Per-Package Flags
Flags are passed with the--name=value syntax and can be scoped to an individual package or to the entire realm. When a flag appears immediately after a package name it applies only to that package; when it appears after the realm name (before any package) it applies to every package in the realm.
Updating a Realm
Callingix mut with only a realm name and no package list triggers a rebuild of every package already installed in that realm. This is the standard way to pick up upstream changes after pulling a newer version of the IX repository.
Preview Before Switching: ix let
ix let accepts exactly the same arguments as ix mut but does not update the anchor symlink in /ix/realm/ when it finishes. The new realm store entry is built and left in place, letting you inspect its contents before committing to it.
ix mut.
Listing Realms and Packages
ix list with no arguments prints the names of all realms that have anchor links in /ix/realm/. Passing one or more realm names prints the packages (with their flags) installed in each of those realms.
Removing a Realm: ix purge
ix purge removes the anchor symlink for one or more realms from /ix/realm/. Once the anchor is gone the realm is no longer considered “in use” by the garbage collector.
ix purge only removes the anchor symlink — the underlying store entry and all its referenced packages remain on disk until you run ix gc. See the Garbage Collection guide for details.