-
Notifications
You must be signed in to change notification settings - Fork 0
Advanced usage
ExistingPerson edited this page Dec 12, 2025
·
4 revisions
Take your package management further with these advanced features:
Export all installed packages to a config file:
better-pkg setup-export @c-allExport by category:
better-pkg setup-export @c-mediaInstall packages from a previously exported config:
better-pkg setup-custom packages_export.jsonYou can learn more about importing and exporting in Using setups section.
Remove packages listed in a config file:
better-pkg setup-remove packages_export.jsonUse predefined aliases for groups of packages:
better-pkg install @a-editorsYou can define your aliases in ~/.config/better-tools/pkg.json
Get output in JSON format for scripting:
better-pkg list --json
better-pkg search firefox --jsonUse -y to automatically answer "yes" to prompts:
better-pkg install firefox -yAnd if you want true non-interactive mode, this will automatically choose first search result:
better-pkg install firefox -yf