Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Log into https://account.microsoft.com/services using the same account you used for the original subscription. You should see your subscription listed there with an "Install" button. You can use that button to remove the association of Microsoft 365 with the old computer and install it on the new computer.