synopkg
TLDR
List installed packages
SYNOPSIS
synopkg command [OPTIONS]
DESCRIPTION
synopkg is the package management utility for Synology DiskStation Manager (DSM), the operating system for Synology NAS devices. It provides command-line control over package installation, updates, and service management.
The tool wraps each package's start/stop scripts located at `/var/packages/<package>/scripts/start-stop-status`. It automatically handles dependency resolution when installing packages and integrates with DSM's Package Center.
PARAMETERS
--name
Show only package names--depend-on package
List packages depending on specified package
COMMANDS
list [--name] [--depend-on pkg]
List installed packagesinstall file.spk
Install package from SPK fileuninstall package
Remove installed packagestart package
Start a package servicestop package
Stop a package servicestatus package
Show package running statusis_onoff package
Check if package is enabledcheckupdate package
Check for package updatesupgradeall
Upgrade all packages to latest versionslog package
View package logs
CAVEATS
Requires root privileges for install/uninstall/start/stop operations. SSH access must be enabled on the Synology NAS. Only accepts SPK package format. Installation has the same constraints as the web UI Package Center.
HISTORY
synopkg is developed by Synology Inc. as part of their DiskStation Manager operating system. DSM provides a Linux-based platform for Synology NAS devices, first introduced in the mid-2000s. The command-line tools complement the web-based administration interface.
SEE ALSO
synoupgrade(8), synoservice(8)


