How to update MikroTik router firmware using SSH/Terminal

In order to update the firmware of your MikroTik router, you can use the terminal or SSH.

First, login to the terminal. You should see the following prompt:

[admin@MikroTik] >

Checking for a new firmware version

Before being able to upgrade, we need to check if there’s a new version available. This can be done using the following command:

/system/package/update/check-for-update

Example output:

[admin@MikroTik] > /system/package/update/check-for-updates 
            channel: stable
  installed-version: 7.13.2
     latest-version: 7.15.2
             status: New version is available

Updating the firmware

If a new version is available, you can update the firmware using the following command:

/system/package/update/install

This will automatically download and install the new firmware version.

The update will take a few minutes, and the router will reboot once the update is complete. Make sure not to interrupt the process, as this could lead to a bricked router.

Example output:

[admin@MikroTik] > /system/package/update/install
            channel: stable
  installed-version: 7.13.2
     latest-version: 7.15.2
             status: Downloaded, rebooting...