Since we’re always looking for it, here is the cPanel license key update script. Simply run the command below while logged in to your cPanel VPS or dedicated server via shell (SSH).
/usr/local/cpanel/cpkeyclt
Note: If you just want to update cPanel, run:
/scripts/upcp