Need help securing your MikroTik routers? A printable copy of our MikroTik Router Hardening Guide complete with a checklist, links to STIGs, and more in-depth discussions of best practices than will fit in a blog post are featured in the MikroTik Router Hardening Guide. Click here to find out more.
If you don't have graphical access like Winbox or Webfig to a MikroTik router you can easily do software updates via the command line. These commands can be used in Ansible playlists as well to programatically update devices.
Set Package Channel
A few package channels exist and you can select which branch you'd like. The current branch is always recommended because it's the latest stable release:
system package update set channel=current
If you prefer to live on the bleeding edge or if you want to test new features in development use the Release Candidate channel:
system package update set channel=release-candidate
Check for Updates
With the channel selected run the update check:
system package update check-for-updates
If a new version is available download it:
system package update download
New package files being detected will trigger the install when the device boots.
Kick off the installation by rebooting the router: