If you want to move from enterprise to community edition -
Please raise a support ticket to remove registered device id.
Once it is done, you are free to install community edition.
The reason is once the enterprise edition is installed, the device id is registered and cannot downgrade.