gh auth login
. Follow the prompts to authenticate with your Github account.
gh config set prompt disabled
to disable the interactive prompts.
gh api /orgs/{org}/settings/members_require_two_factor_authentication -X PUT -F enabled=true
to require MFA for all members of your organization. Replace {org}
with the name of your organization.