Download the latest upgrade available (use --download-smallupdate for patches)

synoupgrade

  • Upgrade a Synology DiskStation Manager (DSM) from the command-line.
    More information: <https://www.synology.com/dsm>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo synoupgrade --download

click the source code to copy