Migrating setting of tenant and applications from 1 env to another

We have a tenant in dev environments which have a couple of applications configured along with some role/permissions and user/metadata in auth 0 platform.
We want to migrate these settings to prod environment. What are the feasible ways to achieve this?

  1. Using Auth0 cli?
  2. Using Management APIs?

I have bumped across these 2 options and none of them are clear to me. Can I get some help on this?
I am pretty new to this platform. Thanks in advance.