And this one should cover the installation part:
How to fix your Studio installation / Licensing issues
If I got it right @jorge.botelho, you have also enabled the Enterprise trial on your Automation Cloud account?
If that’s the case, connecting your Studio Community Edition to that tenant and licensing it from there will show as Enterprise license in Studio, but it should work nonetheless:
It’s actually how I have it setup myself, where I am connected to an enterprise cloud account, but I still use community edition for ease of auto-update
And as far as the question on how to revert that license in Automation Cloud, the trial lasts 60 days and will automatically downgrade to Community license afterwards.