more explicit package management
Tired of forgetting why you installed certain packages? moree helps you explicitly manage your package installations by recording the reasons behind them. This brings clarity to your system's software and reduces future decision fatigue when reviewing or updating your packages. Take control of your package management and understand the "why" behind every install.
- Gain a clear understanding of the purpose of each installed package.
- Simplify future package reviews and updates by having readily available installation reasons.
- Distinguish between explicitly installed packages and dependencies.
- Easily maintain and clean up your system by identifying and removing unnecessary software.
Set an alias as moe if you don't have another moe command.
# .zshrc
alias moe="moree"moe [command] [flags]
Running moe without a command will display the help.
-
add [packages...]- With
packages: Interactively confirms the explicit installation status of the specified, already installed package(s). If a package isn't installed, an error is displayed. - Without
packages: Interactively reviews all installed packages on your system, prompting you to mark them as explicitly installed or dependencies. Includes a "Quit" option to stop the process and optionally save changes.
- With
-
applyReinstalls packages based on the installation reasons managed bymoree.--with-install: Installs packages marked as explicitly installed bymoreethat aren't currently on your system.--with-uninstall: Uninstalls packages present on your system but not marked as explicitly installed bymoree.--sync: A shorthand for--with-install --with-uninstall, synchronizing your system with themoreestate.
-
unmanagedLists packages installed on your system that aren't managed bymoree. -
diff [--all]- Compares the
moreemanaged state with your currently installed packages (explicitly and as dependencies), highlighting discrepancies with '+' and '-'. --all: Extends the diff to show packages managed bymoreebut not installed, and unmanaged packages installed explicitly. Note: Unmanaged dependencies are not shown.
- Compares the
-
queryRetrieves package information.--explicitor-e: Lists all explicitly installed packages managed bymoree.--depsor-d: Lists all packages marked as dependencies bymoree.--informationor-i: Prints detailed information (explicit status, memo) for all managed packages.-eand-dflags can be combined with this flag.
-
edit <package>Interactively edits the explicit status and memo for the specified package.
--data <path>Specifies the path to themoreestate file. Defaults to$XDG_DATA_HOME/moree/state.json.
moe add # Review and categorize installed packages.
moe apply # Reinstall packages according to their explicit status.
moe query -e > .config/tenzyu/packages#arch # Save a list of explicitly installed packages to a file.
moe query -i # Review detailed information about all managed packages, including installation reasons.
Thank you for discovering this somewhat hidden repository! If you find moree useful or interesting, please consider starring it. Your support motivates further development.