Installing routeros specific version

whats the easiest way to install a specific version of routeros via terminal or UI (if must)
lets say I want to automatically flash all my boards with routeros ver 6.44.2 or 6.44.1

It’s simple - use "/tool fetch " to download that version then “:execute {/system reboot;}”.
But you may want to add some safeguards like checking current version as the upgrade of pre-6.41(master-port config) might break some things.

This flow works for me:

ssh -o "StrictHostKeyChecking no" admin@192.168.88.1 system resource print # See current version
scp -o "StrictHostKeyChecking no" ./routeros-mmips-6.44.2.npk   admin@192.168.88.1:/
ssh -o "StrictHostKeyChecking no" admin@192.168.88.1 system reboot
ssh -o "StrictHostKeyChecking no" admin@192.168.88.1 system resource print # See version

For version 6.40.* I upgrade first to ver 6.41.5 and then to 6.44.2