tyarn yarn using npmmirror.com as registry usage npm install yarn tyarn -ginstall same with yarn, replace yarn with tyarn, for example: tyarn add antdpublish use npm to publish