|fwupdmgr(1)||fwupdmgr man page||fwupdmgr(1)|
fwupdmgr — firmware update manager client utility
fwupdmgr is a command line fwupd client intended to be used interactively. The terminal output between versions of fwupd is not guaranteed to be stable, but if you plan on parsing the results then adding --json might be just what you need.
There are also graphical tools to firmware available for GNOME and KDE. These applications may be more useful to many users compared to using the command line.
- GNOME Software: https://wiki.gnome.org/Apps/Software
- GNOME Firmware: https://gitlab.gnome.org/World/gnome-firmware
- KDE Discover: https://userbase.kde.org/Discover
Most users who want to just update all devices to the latest versions can do fwupdmgr refresh and then fwupdmgr update. At this point the system will asking for confirmation, update some devices, and may then reboot to deploy other updates offline.
The fwupdmgr command takes various options depending on the action. Run fwupdmgr --help for the full list.
Commands that successfully execute will return “0”, with generic failure as “1”.
There are also several other exit codes used: A return code of “2” is used for commands that have no actions but were successfully executed, and “3” is used when a resource was not found.
See GitHub Issues: https://github.com/fwupd/fwupd/issues