Updating The Firmware From Terminal - MikroTik Script RouterOS

Every RouterBoard device has its own BIOS or firmware. That firmware should be upgraded after the RouterOS upgrade. The newer firmware file is packed inside the npk file and will be available after the RouterOS upgrade.

The command is very simple:

/system routerboard upgrade

Result
[admin@MikroTik] > system routerboard upgrade 
Do you really want to upgrade firmware? [y/n] 
y
21:56:31 echo: system,info,critical Firmware upgraded successfully, please reboot for changes to take effect!
Just type Y on the prompt and the firmware will be upgraded in seconds. After this operation, you should again manually reboot your router.

Credit: https://mivilisnet.wordpress.com/2020/03/31/updating-mikrotik-router-from-the-command-line/