r/AerynOS • u/ermodk • Nov 01 '26
Moss CLI changes have landed
Hi all,
As foreshadowed in previous stream update notes, the refactored Moss CLI has now landed.
Package operations, including add, remove, info are now sitting under the pkg subcommand. In particular, moss pkg add replaces moss install.
The overarching idea is that you are explicitly adding/removing packages to/from the underlying system-model that moss resolves from.
Similarly, Repository operations sit under the repo subcommand, where you are also explicitly modifying (add/remove and enable/disable) repositories in the system-model that moss resolves from.
You can use moss pkg -h to see the supported pkg subcommands, and moss repo -h to see the supported repo subcommands.
Note that we have set up aliases for some of the commands, such that moss pkg add has the alias moss pad, and moss pkg remove has the alias moss prm. For moss pkg info, the alias is moss pif.
The documentation lives here: https://aerynos.com/users/system-management/moss-state-management/
The CLI changes you are seeing are merely one part of the refactor work we are kicking off for moss.
HTH.
4
u/TheHarveyBirdman 29d ago
sudo moss sync -uwas already not going to be obvious to many and now installing and removing packages is just as confusing. It feels like this is making moss less intuitive to use. How is this an improvement from a users perspective?3
u/Sothis6881 29d ago
I read through the documentation and have a question. Can you help me understand the reasoning behind requiring the additional --update flag for the "sudo moss sync" command? I would think the user would want to update the repository info before upgrading the system by default, or are there other sync actions that I'm not aware of?
5
u/Xoph-is-Fire 29d ago
Not going to lie as I truly like the idea of aerynOS and moss, but this seems very convoluted. It looks more painful than pretty much any of the cli package management tools I have used and less intuitive than what moss already had. I am sure you have your reasons, but not personally a fan.
1
u/Merthod 24d ago
Yeah, no thanks. I'm so confused.
1
u/Fenerism 1d ago
As someone that just found this distro and appreciates everything else about it, this is too convoluted and wordy for such common commands :/