Command to Update Nextcloud from CLI

Nextcloud ships with a command line updater called updater.phar which can be used to update Nextcloud from the command line.

sudo -u www-data php --define apc.enable_cli=1 /var/www/nextcloud/updater/updater.phar

Tags

 Nextcloud  CLI  Command Line