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