If you want to enable Dx in Salesforce jump to Enable dev hub like below steps:
- Log in as System Administrator to your Developer Edition, trial, or production org (for customers), or your business org (for ISVs).
- From Setup, enter Dev Hub in the Quick Find box and select Dev Hub.
- To enable Dev Hub, click Enable.