Command Reference
This section documents the foton command-line interface.
Command structure
The general command format is:
foton [GLOBAL_OPTIONS] <COMMAND> [COMMAND_OPTIONS] [ARGS...]
Run foton --help to see the complete command-line help.
Global options
--exit-on-lock
Exit immediately if the package database is locked by another operation.
--no-confirm
Skip interactive confirmation prompts.
--warnings-as-errors
Treat warnings as errors, causing the command to fail if any warning is emitted.
Commands
install: Install packages from package registries or manifest filesupdate: Update installed packages from package registriesuninstall: Uninstall packages recorded in the local package databaseactivate: Activate installed packagesdeactivate: Deactivate installed packagesrepair: Clean up packages left in incomplete stateslist: List packages recorded in the local package databaseinfo: Show detailed information about packages recorded in the local package databasesearch: Search packages in package registriesmanifest: Work with package manifest filesfont: Work with fonts managed by foton