yarn use repository code example Example: yarn add specific version // for specific versions yarn add package-name@1.2.3